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
Compile error in BDS 2006 SVN trunk
-
- Fresh Boarder
- Posts: 1
- Joined: 09.08.2017, 04:57
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Compile error in BDS 2006 SVN trunk
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
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
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Compile error in BDS 2006 SVN trunk
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
With best regards,
Jan