Liste des directives de compilation Delphi - Index

De RAD Studio
Aller à : navigation, rechercher

Remonter à Référence des langages Delphi

La rubrique suivante liste les directives du compilateur de RAD Studio.


Présentation

Directives du compilateur

Directive de compilation Delphi Symbole associé

Aligner les champs (Delphi)

{$A},{$ALIGN}

ALLOWBIND

{$ALLOWBIND}

ALLOWISOLATION

{$ALLOWISOLATION}

Type d'application (Delphi)

{$APPTYPE}

Directives d'assertion (Delphi)

{$C},{$ASSERTIONS}

Evaluation booléenne rapide (directive de compilation Delphi)

{$B},{$BOOLEVAL}

Aligner le code (Delphi)

{$CODEALIGN}

Directives de compilation pour les bibliothèques ou les objets partagés (Delphi)

{$LIBPREFIX}, {$LIBSUFFIX}, {$LIBVERSION}

Compilation conditionnelle (Delphi)

{$IFDEF}, {$IFNDEF}, {$IF}, {$ELSEIF}, {$ELSE}, {$ENDIF}, {$IFEND}

Compatible Data Execution Prevention

{$NXCOMPAT}

Informations de débogage (Delphi)

{$D},{$DEBUGINFO}

Directive DEFINE (Delphi)

{$DEFINE}

Directive DENYPACKAGEUNIT (Delphi)

{$DENYPACKAGEUNIT}

Description (Delphi)

{$D},{$DESCRIPTION}

Directive DESIGNONLY (Delphi)

{$DESIGNONLY}

Base dynamique (Delphi)

{$DYNAMICBASE}

ELSE (Delphi)

{$ELSE}

ELSEIF (Delphi)

{$ELSEIF}

Activer les adresses longues

{$LARGEADDRESSAWARE}

Directive ENDIF (Delphi)

{$ENDIF}

Extension de l'exécutable (Delphi)

{$E},{$EXTENSION}

Exportation des symboles (Delphi)

{$ObjExportAll}

Syntaxe étendue (Delphi)

{$X},{$EXTENDEDSYNTAX}

Compatibilité des types étendus (Delphi)

{$EXTENDEDCOMPATIBILITY}

Symboles externes (Delphi)

{$EXTERNALSYM [ 'typeNameInHpp' [ 'typeNameInHppUnion' ]]}

Contrôle de la précision à virgule flottante (Delphi pour x64)

{$EXCESSPRECISION}

Directive HIGHCHARUNICODE (Delphi)

{$HIGHCHARUNICODE}

Conseils (Delphi)

{$HINTS}

HPPEMIT (Delphi)

{$HPPEMIT}

Directive IFDEF (Delphi)

{$IFDEF}

Directive IF (Delphi)

{$IF}

Directive IFEND (Delphi)

{$IFEND}

Directive IFNDEF (Delphi)

{$IFNDEF}

Directive IFOPT (Delphi)

{$IFOPT}

Adresse de base de l'image

{$IMAGEBASE}

Compilation implicite (Delphi)

{$IMPLICITBUILD}

Données importées

{$G},{$IMPORTEDDATA}

Fichier d'inclusion (Delphi)

{$I},{$INCLUDE}

Contrôle des entrées et des sorties (Delphi)

{$I},{$IOCHECKS}

Legacy IFEND (Delphi)

{$LEGACYIFEND}

Liaison avec le fichier objet (Delphi)

{$L file},{$LINK file}

Symboles locaux (Delphi)

{$L+},{$LOCALSYMBOLS}

Chaînes longues (Delphi)

{$H},{$LONGSTRINGS}

Tailles d'allocation mémoire (Delphi)

{$M},{$MINSTACKSIZE},{$MAXSTACKSIZE}

Directive MESSAGE (Delphi)

{$MESSAGE }

Directive METHODINFO (Delphi)

{$METHODINFO}

Taille minimum d'énumération (Delphi)

{$Z1},{$Z2},{$Z4},{$MINENUMSIZE 1},{$MINENUMSIZE 2},{$MINENUMSIZE 4}

Directive NODEFINE (Delphi)

{$NODEFINE [ 'typeNameInHpp' [ 'typeNameInHppUnion' ]]}

NOINCLUDE (Delphi)

{$NOINCLUDE}

Directive OBJTYPENAME (Delphi)

{$OBJTYPENAME typeIdent ['{B|N}typeNameInObj']}

Old type layout (Delphi)

{$OLDTYPELAYOUT ON}

Paramètres chaînes ouverts (Delphi)

{$P},{$OPENSTRINGS}

Optimisation (Delphi)

{$O},{$OPTIMIZATION}

Vérification de débordement (Delphi)

{$Q},{$OVERFLOWCHECKS}

Indicateurs d'en-tête PE (Portable Executable) (Delphi)

{$SetPEFlags},{$SetPEOptFlags}

Version Système d'exploitation de l'en-tête PE

{$SETPEOSVERSION}

Version Sous-système de l'en-tête PE

{$SETPESUBSYSVERSION}

Version Utilisateur de l'en-tête PE

{$SETPEUSERVERSION}

Opérations FDIV du Pentium sécurisées (Delphi)

{$U},{$SAFEDIVIDE}

POINTERMATH (Delphi)

{$POINTERMATH}

Vérification des intervalles

{$R},{$RANGECHECKS}

Compatibilité Real48 (Delphi)

{$REALCOMPATIBILITY}

Régions

{$REGION},{$ENDREGION}

Espace adresse réservé pour les ressources (Delphi, Linux)

{$M},{$RESOURCERESERVE}

Fichier ressource (Delphi)

{$R},{$RESOURCE}

Directive RTTI (Delphi)

{$RTTI INHERIT|EXPLICIT}

Directive RUNONLY (Delphi)

{$RUNONLY}

Informations de type à l'exécution (Delphi)

{$M},{$TYPEINFO}

Enumérations de portée (Delphi)

{$SCOPEDENUMS}

Cadres de pile (Delphi)

{$W},{$STACKFRAMES}

Types de liaison forts (Delphi)

{$STRONGLINKTYPES}

Supporter ASLR 64 bits d'entropie élevée

{$HIGHENTROPYVA}

Déclaration de symboles et informations de référence croisée (Delphi)

{$Y},{$REFERENCEINFO},{DEFINITIONINFO}

Sensible à Terminal Server

{$TSAWARE}

Contrôle du type des pointeurs (Delphi)

{$T},{$TYPEDADDRESS}

Directive UNDEF (Delphi)

{$UNDEF}

Contrôle des chaînes var (Delphi)

{$V},{$VARSTRINGCHECKS}

Messages d'avertissement (Delphi)

{$WARN}

Avertissements (Delphi)

{$WARNINGS}

Packaging faible

{$WEAKPACKAGEUNIT}

Directive WEAKLINKRTTI (Delphi)

{$WEAKLINKRTTI}

Constantes typées affectables (Delphi)

{$J},{$WRITEABLECONST}

Chaînes basées sur zéro (Delphi)

{$ZEROBASEDSTRINGS}

Voir aussi