You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Helmut Schröger <he...@rl-ag.de> on 2001/12/03 16:50:09 UTC

*Using* Xerces with AIX 4.3.3

Hi Experts !

I am trying to use

a) Xerces 1.4.0 (self build from source; build process works fine)

b) Xerces 1.5.2 for AIX 4.3 binary distribution

with XlC / XlC_r Version 5 on AIX 4.3.3.

I got the following error:

"/usr/local/xerces15/include/dom/DOMString.hpp", line 121.1: 1506-166 (S)
Definition of function class requires parentheses.
"/usr/local/xerces15/include/dom/DOMString.hpp", line 121.7: 1506-276 (S)
Syntax error: possible missing '{'?
"/usr/local/xerces15/include/dom/DOMString.hpp", line 150.15: 1506-275 (S)
Unexpected text 'const' encountered.
"/usr/local/xerces15/include/dom/DOMString.hpp", line 150.32: 1506-045 (S)
Undeclared identifier other.
"/usr/local/xerces15/include/dom/DOMString.hpp", line 159.15: 1506-046 (S)
Syntax error.
"/usr/local/xerces15/include/dom/DOMString.hpp", line 167.15: 1506-046 (S)
Syntax error.
"/usr/local/xerces15/include/dom/DOMString.hpp", line 167.48: 1506-045 (S)
Undeclared identifier length.
"/usr/local/xerces15/include/dom/DOMString.hpp", line 181.15: 1506-275 (S)
Unexpected text 'int' encountered.
"/usr/local/xerces15/include/dom/DOMString.hpp", line 181.19: 1506-045 (S)
Undeclared identifier nullPointerValue.

---- stuff deleted ----

Why does the compiler compain on this forward declaration ??

Looking forward for your help ...

Best Regards Helmut



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


AW: *Using* Xerces with AIX 4.3.3

Posted by Helmut Schröger <he...@rl-ag.de>.
Hi all !

Oops! I've got it !

Never give your xlC_r a file called foo.c as a C++ file.

Thank you anyway ....

Helmut

> -----Ursprüngliche Nachricht-----
> Von: Helmut Schröger [mailto:helmut.schroeger@rl-ag.de]
> Gesendet: Montag, 3. Dezember 2001 16:50
> An: xerces-c-dev@xml.apache.org
> Betreff: *Using* Xerces with AIX 4.3.3
>
>
> Hi Experts !
>
> I am trying to use
>
> a) Xerces 1.4.0 (self build from source; build process works fine)
>
> b) Xerces 1.5.2 for AIX 4.3 binary distribution
>
> with XlC / XlC_r Version 5 on AIX 4.3.3.
>
> I got the following error:
>
> "/usr/local/xerces15/include/dom/DOMString.hpp", line 121.1: 1506-166 (S)
> Definition of function class requires parentheses.
> "/usr/local/xerces15/include/dom/DOMString.hpp", line 121.7: 1506-276 (S)
> Syntax error: possible missing '{'?
> "/usr/local/xerces15/include/dom/DOMString.hpp", line 150.15: 1506-275 (S)
> Unexpected text 'const' encountered.
> "/usr/local/xerces15/include/dom/DOMString.hpp", line 150.32: 1506-045 (S)
> Undeclared identifier other.
> "/usr/local/xerces15/include/dom/DOMString.hpp", line 159.15: 1506-046 (S)
> Syntax error.
> "/usr/local/xerces15/include/dom/DOMString.hpp", line 167.15: 1506-046 (S)
> Syntax error.
> "/usr/local/xerces15/include/dom/DOMString.hpp", line 167.48: 1506-045 (S)
> Undeclared identifier length.
> "/usr/local/xerces15/include/dom/DOMString.hpp", line 181.15: 1506-275 (S)
> Unexpected text 'int' encountered.
> "/usr/local/xerces15/include/dom/DOMString.hpp", line 181.19: 1506-045 (S)
> Undeclared identifier nullPointerValue.
>
> ---- stuff deleted ----
>
> Why does the compiler compain on this forward declaration ??
>
> Looking forward for your help ...
>
> Best Regards Helmut
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org