#1 2012-11-15 11:56:06

Bascy
Member
From: The Netherlands
Registered: 2012-06-22
Posts: 108

Compiler errors if UNICODE since 2012-11-14 version

Updated this morning and running into all kinds of compiler errors of code segments inside {$ifdef UNICODE} directives:

[dcc32 Error] SynCommons.pas(8756): E2029 '(' expected but ')' found
[dcc32 Error] SynCommons.pas(8757): E2029 Expression expected but 'END' found
[dcc32 Error] SynCommons.pas(18094): E2034 Too many actual parameters
[dcc32 Fatal Error] mORMot_D17.dpk(38): F2063 Could not compile used unit 'SynCommons.pas'

[dcc32 Error] SQLite3Commons.pas(2682): E2137 Method 'SameValue' not found in base class
[dcc32 Error] SQLite3Commons.pas(10890): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(11041): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(11229): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(11310): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(11381): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(11574): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(11637): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(11683): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(11732): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(11781): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(12004): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(12120): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(12255): E2037 Declaration of 'CompareValue' differs from previous declaration
[dcc32 Error] SQLite3Commons.pas(12358): E2037 Declaration of 'CompareValue' differs from previous declaration

Offline

#2 2012-11-15 13:25:03

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

Re: Compiler errors if UNICODE since 2012-11-14 version

I've fixed some Unicode compilation issues.
See http://synopse.info/fossil/info/950480023e

Thanks for the report.

Offline

#3 2012-11-15 13:39:35

Bascy
Member
From: The Netherlands
Registered: 2012-06-22
Posts: 108

Re: Compiler errors if UNICODE since 2012-11-14 version

Thanks, think you forgot this one:

[dcc32 Error] SynCommons.pas(18094): E2034 Too many actual parameters

Line 18094 should be:

GetVariantFromJSON(Val,wasString,Value{$ifndef UNICODE},ForceWideString{$endif});

Offline

#4 2012-11-15 14:10:47

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

Re: Compiler errors if UNICODE since 2012-11-14 version

Good point.
I do not have Unicode Delphi at hand here.

See http://synopse.info/fossil/info/3ec6569d17

Offline

Board footer

Powered by FluxBB