#1 2016-12-01 20:16:39

RalfS
Member
Registered: 2011-07-11
Posts: 57

SynCommon-Synopse.inc: CPUINTEL not defined

SynCommon.pas is not compilable with switch PUREPASCAL on Delphi 7, because CPUINTEL is not set correctly at all. Trunk from today.

Last edited by RalfS (2016-12-01 20:18:08)

Offline

#2 2016-12-01 21:51:03

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: SynCommon-Synopse.inc: CPUINTEL not defined

Why on earth would you need to define PUREPASCAL with Delphi 7 ?
Delphi 7 is for x86 CPU only.

SynCommons should compile with http://synopse.info/fossil/info/e6f603369f
But other units won't compile (SynSM, SynSQLite3) with PUREPASCAL + Delphi 7, which is not a workable target.

Offline

#3 2016-12-01 23:40:45

RalfS
Member
Registered: 2011-07-11
Posts: 57

Re: SynCommon-Synopse.inc: CPUINTEL not defined

Same error with 64bit Delphi now.

Offline

#4 2016-12-02 07:59:34

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: SynCommon-Synopse.inc: CPUINTEL not defined

No problem to compile to Win64 on my side, with Delphi XE6 and 10.1.
Regression tests do pass.

Offline

#5 2016-12-02 19:27:14

RalfS
Member
Registered: 2011-07-11
Posts: 57

Re: SynCommon-Synopse.inc: CPUINTEL not defined

ab wrote:

No problem to compile to Win64 on my side, with Delphi XE6 and 10.1.
Regression tests do pass.

With Win64 and switch PUREPASCAL too?

Last edited by RalfS (2016-12-02 19:27:38)

Offline

#6 2016-12-02 22:32:41

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: SynCommon-Synopse.inc: CPUINTEL not defined

PurePascal is defined on this win64 target in Synopse.inc.

Offline

#7 2016-12-03 17:28:24

RalfS
Member
Registered: 2011-07-11
Posts: 57

Re: SynCommon-Synopse.inc: CPUINTEL not defined

Still Win64 PurePascal problems, win32 is okay (todays trunk):

PDF\Synopse.inc(574)
PDF\Synopse.inc(574)
PDF\SynLZ.pas(1252)
PDF\SynopseCommit.inc(2)
PDF\SynCommons.pas(36842) Error: E2003 Undeclared identifier: 'CpuFeatures'
PDF\SynCommons.pas(36842) Error: E2015 Operator not applicable to this operand t
ype
PDF\SynCommons.pas(39857) Error: E2003 Undeclared identifier: 'RedirectCode'
PDF\SynCommons.pas(61259)

Last edited by RalfS (2016-12-03 17:52:51)

Offline

Board footer

Powered by FluxBB