Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi aktuelle Compiler-version herausfiden (https://www.delphipraxis.net/31266-aktuelle-compiler-version-herausfiden.html)

Aenogym 6. Okt 2004 21:35


aktuelle Compiler-version herausfiden
 
hi,

wie kann ich (per compiler-direktive vorzugsweise) die version des egrade kompilierendes compilers herausfinden?

danke,
Aenogym

Aenogym 6. Okt 2004 21:39

Re: aktuelle Compiler-version herausfiden
 
okay hat sich erledigt,

jetzt hab ichs endlich auch gefunden :)

Delphi-Quellcode:
{$IFDEF Ver30}
  //delphi 5
{$ENDIF}

{
VER80   Delphi 1
VER90   Delphi 2
VER100  Delphi 3
VER120    Delphi 4
VER130    Delphi 5
VER140    Delphi 6
}
delphi 7 ist warscheinlich VER150...

Aenogym

dizzy 6. Okt 2004 21:45

Re: aktuelle Compiler-version herausfiden
 
Wo ist "VER110"? :gruebel:
Gabs die net? War der Sprung von D3 auf D4 so groß, dass eine gesamte Version "verschlungen" wurde?

himitsu 31. Okt 2005 02:57

Re: aktuelle Compiler-version herausfiden
 
Das Symbol VER110 gehört zum C++-Compiler.
Dieses is analog zum VER93 und VER125, wobei es seit VER130 die Compiler für Delphi und C++ die selbe Versionsnummer besitzen und ab da das BCB für die Unterscheidung eingeführt wurde.

Code:
MSWINDOWS + VER80         = Delphi 1         Compiler v1
MSWINDOWS + VER90         = Delphi 2         Compiler v2
MSWINDOWS + VER93         = C++Builder 1     Compiler v2
MSWINDOWS + VER100        = Delphi 3         Compiler v3
[color=red]MSWINDOWS + VER110        = C++Builder 3     Compiler v3.5[/color]
MSWINDOWS + VER120        = Delphi 4         Compiler v4
MSWINDOWS + VER125        = C++Builder 4     Compiler v4
MSWINDOWS + VER130        = Delphi 5         Compiler v5
MSWINDOWS + VER130 + BCB = C++Builder 5     Compiler v5
MSWINDOWS + VER140        = Delphi 6         Compiler v6
MSWINDOWS + VER140 + BCB = C++Builder 6     Compiler v6
LINUX    + VER140        = Kylix 2          Compiler v6
MSWINDOWS + VER150        = Delphi 7         Compiler v7
MSWINDOWS + VER150 + BCB = C++Builder 7     Compiler v7
LINUX    + VER150        = Kylix 3          Compiler v7
...
Weitere Informationen z.B. unter Compilerversionen?.


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:18 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz