GNAT Modified General Public License

From Wikipedia, the free encyclopedia

The GNU logo
The GNU logo

The GNAT Modified General Public License (short: Modified GPL, GMGPL) is a version of the GNU General Public License specifically modified for the generic feature found in the Ada programming language.

The modification is as follows:

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.

The compiler directive pragma License (Modified_GPL); activates GNAT's built-in licence check in respect to the Modified GPL.

[edit] See also

In other languages