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的授权方式进行查核确认。

参见 编辑