Difference between revisions of "Mode GPC"

From Free Pascal wiki
Jump to navigationJump to search
(rewrite)
Line 1: Line 1:
{{Mode_GPC}}
+
{{Mode GPC}}
  
'''Mode GPC''' was a [[FPC|Free Pascal]] [[Compiler Mode|compiler mode]] that attempted to compile only code acceptable to the [[GNU Pascal]] compiler. This mode has been removed as of version 2.2 of the Free Pascal compiler.
+
The [[Compiler Mode|compiler mode]] <syntaxhighlight lang="pascal" inline>{$mode GPC}</syntaxhighlight> was supported by [[FPC]] until version 2.2 (commented out in [https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=6518 revision 6518]).
 +
The mode’s intention was to compile only code that is accepted by the [[GNU Pascal]] compiler.
 +
 
 +
As an alternative, the closest mode to the former <syntaxhighlight lang="pascal" inline>{$mode GPC}</syntaxhighlight> will be [[Mode extendedpascal|<syntaxhighlight lang="pascal" inline>{$mode extendedPascal}</syntaxhighlight>]].
 +
As of 2020, however, it is not operational yet.

Revision as of 00:55, 21 August 2020

English (en) español (es) français (fr) русский (ru)

The compiler mode {$mode GPC} was supported by FPC until version 2.2 (commented out in revision 6518). The mode’s intention was to compile only code that is accepted by the GNU Pascal compiler.

As an alternative, the closest mode to the former {$mode GPC} will be {$mode extendedPascal}. As of 2020, however, it is not operational yet.