Skip to content

TCompilerMode

Free Pascal Compiler language compatibility modes

Declaration

Source position: fpmkunit.pp line 173

type
  TCompilerMode = (cmFPC,cmTP,cmObjFPC,cmDelphi,cmMacPas,cmDelphiUnicode)

Values

Value Description
cmFPC Standard Free Pascal mode
cmTP Turbo Pascal compatibility mode
cmObjFPC Object Pascal mode with object-oriented features
cmDelphi Delphi compatibility mode
cmMacPas Macintosh Pascal compatibility mode
cmDelphiUnicode Delphi Unicode compatibility mode

Description

TCompilerMode specifies the language compatibility mode used by the Free Pascal Compiler. Each mode affects syntax rules, default behavior, and language feature availability during compilation.

See also

Name Description
TCompilerModes Set of compiler modes
TTarget.Mode Compiler mode for the target