Skip to content

Support {$PUSHOPT} and {$POPOPT} compiler directives #411

@cirras

Description

@cirras

Prerequisites

  • This improvement has not already been suggested.
  • This improvement would be generally useful, not specific to my code or setup.

Engine area

Delphi language support

Improvement description

Delphi 13 has introduced new compiler directives {$PUSHOPT} and {$POPOPT}.

These new Delphi compiler directives save and restore the current set of options and warning configurations.

We'll need to:

  • parse the new directives
  • add support to the CompilerSwitchRegistry
  • API: extend the ParameterDirective.ParameterKind enum

See

Rationale

Delphi 13 support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineImprovements to the core engineenhancementImprovements to an existing feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions