Hi everyone,
I'm having a problem since today when I updated gcc
from 4.1.1 to 4.1.2 on my gentoo box (I'm using
Xerces-c 2.7.0-r1).
I get the following error while trying to build my own
application using Xerces library:
/usr/include/xercesc/util/XercesVersion.hpp:198:
error: expected constructor, destructor, or type
conversion before 'const'
That file contains mostly #define directives apart
from 5 variable definitions. And it is there where I
get the error
198: const char* const gXercesVersionStr =
XERCES_VERSIONSTR;
199: const char* const gXercesFullVersionStr =
XERCES_FULLVERSIONSTR;
200: const unsigned int gXercesMajVersion =
XERCES_VERSION_MAJOR;
201: const unsigned int gXercesMinVersion =
XERCES_VERSION_MINOR;
202: const unsigned int gXercesRevision =
XERCES_VERSION_REVISION;
I haven't changed that file so I suppose it is
something related to the new gcc. Has anyone ever had
this kind of problem? Thank you in advance.
Paolo
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
http://it.docs.yahoo.com/nowyoucan.html