Zhang Xiaofei wrote:
Hi all,
Building the dbaccess module on simplified Chinese WinXP results in the
following error:
----------------------------------------
g:/ooo_SRC680_latest\dbaccess\source\sdbtools\connection\objectnames.cxx(223)
:
error C2958: the left parenthesis '(' found at
'g:\ooo_src680_latest\dbaccess\so
urce\sdbtools\connection\objectnames.cxx(213)' was not matched correctly
dmake: Error code 2, while making
'../../../wntmsci10.pro/slo/objectnames.obj'
----------------------------------------
As the correct form of the code can be seen at
http://lxr.go-oo.org/source/dba/dbaccess/source/sdbtools/connection/objectnames.cxx#213
like:
----------------------------------------
if ( ( _rName.indexOf( (sal_Unicode)34 ) >= 0 ) // "
|| ( _rName.indexOf( (sal_Unicode)39 ) >= 0 ) // '
|| ( _rName.indexOf( (sal_Unicode)96 ) >= 0 ) // `
|| ( _rName.indexOf( (sal_Unicode)145 ) >= 0 ) // ‘
|| ( _rName.indexOf( (sal_Unicode)146 ) >= 0 ) // ’
The above two lines contain non-ASCII bytes (in the comments), which are
notorious troublemakers. I would suggest you file an issue to get that
straight.
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]