Qualcuno sa di un buon posto in cui posso trovare l'elenco completo della versione definisce per tutte le versioni Delphi, fino a Delphi 2009?Elenco completo di definizioni per le versioni Delphi
29
A
risposta
37
Un molto, molto buona versione di Delphi includono file è il jedi.inc
dal Jedi Code Library (JCL).
E 'sempre up-to-date e ha come direttive DELPHI2009
o DELPHI14_UP
, ... e comprende un sacco di "direttive Feature" come SUPPORTS_INT64
o SUPPORTS_UNICODE_STRING
.
Ecco lo link to the repository.
7
Si potrebbe noi la GX_CondDefine.inc
Dalla grande gexperts plugin:
{$IFDEF CONDITIONALEXPRESSIONS}
{$IFDEF BCB}
{$DEFINE GX_BCB}
{$ELSE}
{$DEFINE GX_Delphi}
{$ENDIF}
{$IF CompilerVersion >= 14}
{$DEFINE GX_VER140_up} // Delphi 6
{$IFDEF LINUX}
{$DEFINE GX_KYLIX}
{$IF RTLVersion = 14.2}
{$DEFINE GX_KYLIX2} // Kylix 2
{$IFEND}
{$IF RTLVersion = 14.5}
{$DEFINE GX_KYLIX3} // Kylix 3
{$IFEND}
{$ENDIF}
{$IF CompilerVersion >= 15}
{$DEFINE GX_VER150_up} // Delphi 7
{$IF CompilerVersion >= 16}
{$DEFINE GX_VER160_up} // Delphi 8
{$IF CompilerVersion >= 17}
{$DEFINE GX_VER170_up} // Delphi 9/2005
{$IF CompilerVersion >= 18}
{$DEFINE GX_VER180_up} // BDS 2006
{$IFDEF VER185}
{$DEFINE GX_VER185_up} // Delphi 2007
{$ENDIF}
{$IF CompilerVersion >= 19}
{$DEFINE GX_VER190_up} // Delphi .NET 2007
{$IF CompilerVersion >= 20}
{$DEFINE GX_VER200_up} // RAD Studio 2009
{$IFEND}
{$IFEND}
{$IFEND}
{$IFEND}
{$IFEND}
{$IFEND}
{$IFEND}
{$ELSE not CONDITIONALEXPRESSIONS}
Sorry, but this version of GExperts does not support the IDE
you are using. Please visit the GExperts web site at
http://www.gexperts.org/ to obtain more information about
support for your IDE.
{$ENDIF}
8
Ecco una lista ho trovato che ci si potrebbe aspettare di essere tenuto al corrente:
http://docwiki.embarcadero.com/RADStudio/en/Compiler_Versions
+0
Solo per la versione, questo è abbastanza buono e al punto. –
Concordato, che si è molto ampia! –
Penso che questo sia quello che raccomanderei in futuro !! –
Questo è il documento originale che ho inviato a Jedi a riguardo, fornisce una spiegazione logica per farlo: http://www.stack.nl/~marcov/porting.pdf (capitolo 2) –