Compiler Versions

From RAD Studio
Jump to: navigation, search

Go Up to Conditional compilation (Delphi)


The following table lists the version number associated with each release of Delphi compilers, beginning with Turbo Pascal 4.0 and ending with the current version of the compiler:

Delphi conditional VER<nnn> Product Product Version Package Version CompilerVersion
VER360 Delphi 12.0 Athens / C++Builder 12.0 Athens 23.0 290 36.0
VER350 Delphi 11.0 Alexandria / C++Builder 11.0 Alexandria 22.0 280 35.0
VER340 Delphi 10.4 Sydney / C++Builder 10.4 Sydney 21.0 270 34.0
VER330 Delphi 10.3 Rio / C++Builder 10.3 Rio 20.0 260 33.0
VER320 Delphi 10.2 Tokyo / C++Builder 10.2 Tokyo 19.0 250 32.0
VER310 Delphi 10.1 Berlin / C++Builder 10.1 Berlin 18.0 240 31.0
VER300 Delphi 10 Seattle / C++Builder 10 Seattle 17.0 230 30.0
VER290 Delphi XE8 / C++Builder XE8 16.0 220 29.0
VER280 Delphi XE7 / C++Builder XE7 15.0 210 28.0
VER270 Delphi XE6 / C++Builder XE6 14.0 200 27.0
VER260 Delphi XE5 / C++Builder XE5 12.0 190 26.0
VER250 Delphi XE4 / C++Builder XE4 11.0 180 25.0
VER240 Delphi XE3 / C++Builder XE3 10.0 170 24.0
VER230 Delphi XE2 / C++Builder XE2 9.0 160161 is the version for the five FireMonkey packages at XE2 Update 2: fmi161.bpl, fmx161.bpl, fmxase161.bpl, fmxdae161.bpl, and fmxobj161.bpl. 23.0
VER220 Delphi XE / C++Builder XE 8.0 150 22.0
VER210 Delphi 2010 / C++Builder 2010 7 140 21.0
VER200 Delphi 2009 / C++Builder 2009 6 120 20.0
VER190 Delphi 2007 for .Net [1] 5 110 19.0
VER180 or VER185 Delphi 2007 / C++Builder 2007 for Win32 [1] 5 110 18.5
VER180 Delphi 2006 / C++Builder 2006 4 100 18.0
VER170 Delphi 2005 3 90 17.0
VER160 Delphi 8 for .Net 2 80 16.0
VER150 Delphi 7 (and 7.1) NA 70 15.0
VER140 Delphi 6 / C++Builder 6 NA 60 14.0
VER130 Delphi 5 / C++Builder 5 NA 50 NA
VER125 C++Builder 4 NA 40 NA
VER120 Delphi 4 NA 40 NA
VER110 C++Builder 3 NA 30 NA
VER100 Delphi 3 NA 30 NA
VER93 C++Builder 1 NA NA NA
VER90 Delphi 2 NA 20 NA
VER80 Delphi 1 NA 10 NA
VER70 Borland Pascal 7.0 NA 70 NA
VER15 Turbo Pascal for Windows 1.5 NA 15 NA
VER10 Turbo Pascal for Windows 1.0 NA 10 NA
VER60 Turbo Pascal 6.0 NA 60 NA
VER55 Turbo Pascal 5.5 NA 55 NA
VER50 Turbo Pascal 5.0 NA 50 NA
VER40 Turbo Pascal 4.0 NA 40 NA
  1. 1.0 1.1 Note that Delphi 2007 defines two VERxxx symbols (VER180 and VER185). Delphi 2006 and 2007 are binary compatible, so 180 works for both. If you need only 2007, use VER185.
Note: CompilerVersion was first introduced with Delphi 6, so earlier versions do not have the CompilerVersion constant.

See Also