You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Keith Bisset <kb...@lanl.gov> on 2000/01/19 22:40:39 UTC

Problem compiling with GCC

There is a problem compiling Xerces with gcc 2.95.2.  According to the
standard, export is now a C++ keyword.  The following files use export
as a function name. 

src/dom/DocumentImpl.cpp
src/dom/DocumentTypeImpl.cpp
src/dom/DocumentTypeImpl.hpp
src/dom/NamedNodeMapImpl.cpp
src/dom/NamedNodeMapImpl.hpp

Once I changed export to Export, everything works ok.  I expect that
this will be a problem as more compilers are changed to match the
standard.

Keith Bisset