I think this is fixed already in Xerces-C++ 1.6.0. Please verify. Tinny
----- Original Message ----- From: "Michael Macaluso" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 9:01 AM Subject: Bug in the file src/util/Platforms/IRIX/IRIXPlatformUtils.cpp > Background: Compiling with GCC 3.0.1 on IRIX 6.5.13. I have used the > following for the call to runConfigure: > runConfigure -pirix -cgcc -xg++ -minmem -nsocket -tnative -rpthread -d > > > Summary: > Near line 550. The declaration of the type "static XMLMutex atomicOpsMutex" > is placed just above the #ifdef XML_USE_SPROC. However, in the #else clause > of the if statement it is redefined. Therefore, YOU CAN NOT COMPILE CLEANLY > on the IRIX unless you use the sproc option. If this were a requirement I > would either assume that it would be documented better or the #if would be > structured to always take that into account. However, since these > declarations seem equivalent, I am assuming that this is merely a cut and > paste error. > > The code look roughly like this: > > #if !defined(APP_NO_THREADS) > > static XMLMutex atomicOpsMutex; > > #ifdef XML_USE_SPROC > > ... > > #else > > static XMLMutex atomicOpsMutex > > ... > > #endif // XML_USE_SPROC > > ... > > #else > > ... > > #endif // #if !defined(APP_NO_THREADS) > > > I would recommend making it look like this by removing the second > declaration: > > #if !defined(APP_NO_THREADS) > > static XMLMutex atomicOpsMutex; > > #ifdef XML_USE_SPROC > > ... > > #else > > ... > > #endif // XML_USE_SPROC > > ... > > #else > > ... > > #endif // #if !defined(APP_NO_THREADS) > > Hope this helps. > > Michael Macaluso > WAVE Corporation > 407 830-9283 > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
