Difference between revisions of "Mode GPC"

From Free Pascal wiki
Jump to navigationJump to search
(update URL, update date in statement)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''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.
+
{{Mode GPC}}
  
[[Category:Modes]]
+
The [[Compiler Mode|compiler mode]] <syntaxhighlight lang="pascal" inline>{$mode GPC}</syntaxhighlight> was supported by [[FPC]] until version 2.2 (commented out in {{gitlab|commit|FPC|5aef9bc086e9098a30fe67b2ac0658637eff8ce5|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 2022, however, it is not operational yet.

Latest revision as of 18:38, 21 January 2022

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 2022, however, it is not operational yet.