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 Brett Elliott <br...@praxis.jsc.nasa.gov> on 2001/01/08 15:13:46 UTC

Building Library on a DEC using g++ (possible problem with XercesDef.hpp)

(I apologize if this made it to the list the first time. I never
actually received it and so I thought that it was lost in the ether of
the net.)

When trying to compile the Xerces Libraries on a Dec Alpha using g++ a
header conflict occurs. I think that the problem is due to an incorrect
"#if defined" in XercesDef.hpp

On line 287 I think that "#if defined(XML_TRU64)" should be "#if
defined(XML_DECCXX)".

Since I am using g++ on an Alpha both #if defined(XML_GCC) and #if
defined(XML_TRU64) evaluate to true and therefore
<util/Compilers/GCCDefs.hpp> and <util/Compilers/DECCXXDefs.hpp> get
included and they conflict with eachother.

Thanks,
	-Brett