Jump to content

GNAT Modified General Public License

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Janizary (talk | contribs) at 02:42, 5 February 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.

See also