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 bu...@apache.org on 2002/09/18 21:16:25 UTC
DO NOT REPLY [Bug 12785] New: -
SchemaSymbols.hpp redefines INFINITY used by sys/vlimit.h in gcc 3.2-
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12785>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12785
SchemaSymbols.hpp redefines INFINITY used by sys/vlimit.h in gcc 3.2-
Summary: SchemaSymbols.hpp redefines INFINITY used by
sys/vlimit.h in gcc 3.2-
Product: Xerces-C++
Version: 1.7.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Minor
Priority: Other
Component: Samples/Tests
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: joverly@cfa.harvard.edu
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
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org