GMGPL

部分修改GPL来解释Ada泛型实例

GNAT Modified General Public License(简称:Modified GPLGMGPLMGPL)是一种软件许可方式,它是原有GNU通用公共许可证(简称:GPL)许可方式的一种特别修订版,是针对Ada编程语言的类属特性而修订,其修订的内容主要如下:

GNU标志
As a special exception, if other files instantiate generics from this unit, or you link this unit with other files to produce an executable, this unit does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Public License.

大意是:

协议规定如下特殊例外情形:如果其他文件中包括该单元内所定义的泛型的实例,或其他文件在编译过程中将该单元加入链接,进而产生可执行文件,则对该单元的引用本身不会使得最终产生的可执行文件也必须采用GPL许可,但本例外不会限制任何可能导致此可执行文件必须采用GPL许可的其他因素。

使用编译程序定向compiler directive)的控制码:“pragma License (Modified_GPL);”就能够使GNAT编译器以Modified GPL的许可方式进行查核确认。

参见 编辑