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=7583>. 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=7583 Build warnings with MS Visual Studio .NET Summary: Build warnings with MS Visual Studio .NET Product: Xerces-C++ Version: 1.7.0 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Build AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When I build Xerces C++ 1.7.0 with MS Visual Studio .NET, I get warnings that indicate items that need to be cleaned up a little. Here are excerpts from my build log: --- xerces-c-src\src\xercesc\idom\IDTextImpl.cpp(96) : warning C4291: 'void *operator new(size_t,IDOM_Document *)' : no matching operator delete found; memory will not be freed if initialization throws an exception d:\dev\issCommon\Dev\ThirdParty\xerces-c- src\src\xercesc\idom\IDDocumentImpl.hpp(307) : see declaration of 'operator new' xerces-c-src\src\xercesc\validators\schema\TraverseSchema.cpp(1095) : warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify precedence --- The first error is cited 59 times in various locations where the 'new' operator is used. The second one refers to the line: if (baseRefContext & SchemaSymbols::LIST != 0) { As coded, since != has higher precedence than &, this is equivalent to: if (baseRefContext & (SchemaSymbols::LIST != 0)) { But I kinda think what is intended is: if (baseRefContext & SchemaSymbols::LIST) { Is this right? BTW, I've found the MS VS .NET C++ compiler to be a substantial improvement over VC++ 6.0. I hope you will consider using it as your build tool for MS platforms. thanks, tim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
