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 129

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

);

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: Aug 28 2026 Report a problem on this page