Liste des directives de compilation Delphi - Index

De RAD Studio
Aller à : navigation, rechercher

Remonter à Référence du langage Delphi

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


Présentation

Directives du compilateur

Directive de compilation Delphi Symbole associé Portée

Aligner les champs (Delphi)

{$A},{$ALIGN}

Locale

ALLOWBIND

{$ALLOWBIND}

Globale

ALLOWISOLATION

{$ALLOWISOLATION}

Globale

Type d'application (Delphi)

{$APPTYPE}

Globale

Directives d'assertion (Delphi)

{$C},{$ASSERTIONS}

Locale

Evaluation booléenne rapide (directive de compilation Delphi)

{$B},{$BOOLEVAL}

Locale

Aligner le code (Delphi)

{$CODEALIGN}

Locale

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

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

Globale

Compilation conditionnelle (Delphi)

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

Locale

Compatible Data Execution Prevention

{$NXCOMPAT}

Globale

Informations de débogage (Delphi)

{$D},{$DEBUGINFO}

Globale

Directive DEFINE (Delphi)

{$DEFINE}

Locale

Directive DENYPACKAGEUNIT (Delphi)

{$DENYPACKAGEUNIT}

Locale

Description (Delphi)

{$D},{$DESCRIPTION}

Globale

Directive DESIGNONLY (Delphi)

{$DESIGNONLY}

Locale

Base dynamique (Delphi)

{$DYNAMICBASE}

Locale

ELSE (Delphi)

{$ELSE}

Locale

ELSEIF (Delphi)

{$ELSEIF}

Locale

Activer les adresses longues

{$LARGEADDRESSAWARE}

Globale

Directive ENDIF (Delphi)

{$ENDIF}

Locale

Extension de l'exécutable (Delphi)

{$E},{$EXTENSION}

Globale

Exportation des symboles (Delphi)

{$ObjExportAll}

Globale

Syntaxe étendue (Delphi)

{$X},{$EXTENDEDSYNTAX}

Globale

Compatibilité des types étendus (Delphi)

{$EXTENDEDCOMPATIBILITY}

Locale

Symboles externes (Delphi)

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

Locale

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

{$EXCESSPRECISION}

Locale

Directive HIGHCHARUNICODE (Delphi)

{$HIGHCHARUNICODE}

Locale

Conseils (Delphi)

{$HINTS}

Locale

HPPEMIT (Delphi)

{$HPPEMIT}

Locale

Directive IFDEF (Delphi)

{$IFDEF}

Locale

Directive IF (Delphi)

{$IF}

Locale

Directive IFEND (Delphi)

{$IFEND}

Locale

Directive IFNDEF (Delphi)

{$IFNDEF}

Locale

Directive IFOPT (Delphi)

{$IFOPT}

Locale

Adresse de base de l'image

{$IMAGEBASE}

Globale

Compilation implicite (Delphi)

{$IMPLICITBUILD}

Globale

Données importées

{$G},{$IMPORTEDDATA}

Locale

Fichier d'inclusion (Delphi)

{$I},{$INCLUDE}

Locale

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

{$I},{$IOCHECKS}

Locale

Legacy IFEND (Delphi)

{$LEGACYIFEND}

Locale

Liaison avec le fichier objet (Delphi)

{$L file},{$LINK file}

Locale

Symboles locaux (Delphi)

{$L+},{$LOCALSYMBOLS}

Globale

Chaînes longues (Delphi)

{$H},{$LONGSTRINGS}

Locale

Tailles d'allocation mémoire (Delphi)

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

Globale

Directive MESSAGE (Delphi)

{$MESSAGE}

Locale

Directive METHODINFO (Delphi)

{$METHODINFO}

Locale

Taille minimum d'énumération (Delphi)

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

Locale

Directive NODEFINE (Delphi)

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

Locale

NOINCLUDE (Delphi)

{$NOINCLUDE}

Locale

Directive OBJTYPENAME (Delphi)

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

Globale

Old type layout (Delphi)

{$OLDTYPELAYOUT ON}

Locale

Paramètres chaînes ouverts (Delphi)

{$P},{$OPENSTRINGS}

Locale

Optimisation (Delphi)

{$O},{$OPTIMIZATION}

Locale

Vérification de débordement (Delphi)

{$Q},{$OVERFLOWCHECKS}

Locale

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

{$SetPEFlags},{$SetPEOptFlags}

Locale

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

{$SETPEOSVERSION}

Locale

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

{$SETPESUBSYSVERSION}

Locale

Version Utilisateur de l'en-tête PE

{$SETPEUSERVERSION}

Locale

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

{$U},{$SAFEDIVIDE}

Locale

POINTERMATH (Delphi)

{$POINTERMATH}

Locale

Vérification des intervalles

{$R},{$RANGECHECKS}

Locale

Compatibilité Real48 (Delphi)

{$REALCOMPATIBILITY}

Locale

Régions

{$REGION},{$ENDREGION}

Locale

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

{$M},{$RESOURCERESERVE}

Globale

Fichier ressource (Delphi)

{$R},{$RESOURCE}

Locale

Directive RTTI (Delphi)

{$RTTI INHERIT|EXPLICIT}

Locale

Directive RUNONLY (Delphi)

{$RUNONLY}

Locale

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

{$M},{$TYPEINFO}

Locale

Enumérations de portée (Delphi)

{$SCOPEDENUMS}

Locale

Cadres de pile (Delphi)

{$W},{$STACKFRAMES}

Locale

Types de liaison forts (Delphi)

{$STRONGLINKTYPES}

Globale

Supporter ASLR 64 bits d'entropie élevée

{$HIGHENTROPYVA}

Globale

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

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

Globale

Sensible à Terminal Server

{$TSAWARE}

Globale

Contrôle du type des pointeurs (Delphi)

{$T},{$TYPEDADDRESS}

Globale

Directive UNDEF (Delphi)

{$UNDEF}

Locale

Contrôle des chaînes var (Delphi)

{$V},{$VARSTRINGCHECKS}

Locale

Messages d'avertissement (Delphi)

{$WARN}

Locale

Avertissements (Delphi)

{$WARNINGS}

Locale

Packaging faible

{$WEAKPACKAGEUNIT}

Locale

Directive WEAKLINKRTTI (Delphi)

{$WEAKLINKRTTI}

Locale

Constantes typées affectables (Delphi)

{$J},{$WRITEABLECONST}

Locale

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

{$ZEROBASEDSTRINGS}

Locale

Voir aussi