Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TCompilerMode

Free Pascal Compiler language compatibility modes

Declaration

Source position: fpmkunit.pp line 173

type TCompilerMode = (

  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

TCompilerModes

  

Set of compiler modes

TTarget.Mode

  

Compiler mode for the target


Documentation generated on: Dec 15 2025