Compile error in BDS 2006 SVN trunk

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
rmendozawebcreek
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 09.08.2017, 04:57

Compile error in BDS 2006 SVN trunk

Post by rmendozawebcreek »

Hi, i try to compile the components with BDS 2006 version and get this error:

[Pascal Error] Zeos.inc(120): E2026 Constant expression expected

[Pascal Error] Zeos.inc(129): E2026 Constant expression expected

and 14 more very similar.

The source error is in the file Zeos.inc, in the portion code like this:

... //Line 119 - 122
//now compiler related (un)defines do follow up here
{$IF CompilerVersion < 15}
"Delphi versions below Delphi 7 aren't supported anymore"
{$ELSE}
...

Also, in the version Tokyo 10.2 i can do this compilation succesfully, so what is the problem? the version i checkout with subversion from SVN snapshot
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Compile error in BDS 2006 SVN trunk

Post by marsupilami »

Hello rmendozawebcreek,

if compiling fails at these lines it usually would mean you have a very old compiler on your system and for some reason that compiler gets used? I don't have a Delphi 2006 to test with but things work correctly on my Installations of Delphi 2007. Are you sure you use the right compiler / IDE?

With best regards,

Jan
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Compile error in BDS 2006 SVN trunk

Post by marsupilami »

One more note: To get an older compiler into the picture I tried compiling Zeos 7.2 with Delphi 7. It works just fine.

With best regards,

Jan
Post Reply