Details
-
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
1.7.0
-
None
-
None
-
Operating System: Linux
Platform: PC
-
12785
Description
Hi -
GCC 3.2 defines INFINTITY in sys/vlimit.h:
/usr/include/sys/vlimit.h:#define INFINITY 0x7fffffff
This conficts with SchemaSymbols.hpp which attempts to
redefine INFINITY. I only see it used in the following
places. Could this be change to something like
XERCESC_INFIINITY to avoid the conflict?
./samples/SEnumVal/SEnumVal.cpp
if( mflags == SchemaSymbols::INFINITY )
./src/xercesc/validators/schema/SchemaSymbols.hpp
INFINITY = -2,
./include/xercesc/validators/schema/SchemaSymbols.hpp
INFINITY = -2,
Since we are not using the code that needs INFINITY defined
I was just going to remove it as a work around.
Jim Overly