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 William E Taylor <we...@us.ibm.com> on 2004/06/21 20:46:16 UTC

using Xerces on AIX




I'm having some problems with Xerces on AIX.

I'm using AIX 5.2 and xlC 5.  I downloaded Xerces 5.2.0 and built it from
source (no problems, built successfully) the other day.  Now, when I try to
compile my code, I get the following errors:
xlC_r -c -qrtti=all  -DNOPACK -g -I.
-I/home/wetaylor/xerces-c-src_2_5_0/include -DUNIX -DSYSLOG_LOGGING
enetworkmgr.cpp -o enetworkmgr.o
"/home/wetaylor/xerces-c-src_2_5_0/include/xercesc/util/Compilers/CSetDefs.hpp",
 line 221.31: 1540-0063 (S) The text "str1" is unexpected.
"/home/wetaylor/xerces-c-src_2_5_0/include/xercesc/util/Compilers/CSetDefs.hpp",
 line 222.32: 1540-0063 (S) The text "str1" is unexpected.
"/home/wetaylor/xerces-c-src_2_5_0/include/xercesc/util/XMemory.hpp", line
94.11: 1540-1190 (S) The first parameter for "operator new" must have type
"size_t".
gmake: *** [enetworkmgr.o] Error 1

Lines 221 and 222 of CSetDefs.hpp:
221: int stricmp(const char* const str1, const char* const  str2);
222: int strnicmp(const char* const str1, const char* const  str2, const
unsigned int count);

Line 94 of XMemory.hpp:
94: void* operator new(size_t size);

Does anyone know what is going on here?  Am I missing some compiler flags
or other options?  Did I build Xerces incorrectly?  Thanks in advance!


Will Taylor |   (802) 769-1417
I/T Specialist    |   T/L 446-1417

IBM Global Services
IBM Burlington Plant
1000 River Street
Essex Junction, VT 05452


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