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=14201>. 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=14201 use of ios::nocreate breaks build Summary: use of ios::nocreate breaks build Product: Xerces-C++ Version: 2.1.0 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Samples/Tests AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I tried building in the tests and the samples directories and I get build errors for the use of std::nocreate. For example: /home/abackus/sources/xml- xerces/c/tests/DOM/DeprecatedDOMCount/DeprecatedDOMCount.cpp: In function `int main(int, char**)': /home/abackus/sources/xml- xerces/c/tests/DOM/DeprecatedDOMCount/DeprecatedDOMCount.cpp:229: ` nocreate' is not a member of type `std::basic_ios<char, std::char_traits<char> >' It looks like this is due to the nocreate enum value being removed in a more recent version of the C++ standard libraries. In the GCC 3.2 libraries on the cygwin platform, it appears that in fstream.h, everything is included from <fstream> with "using std::" statements, so instead of using the expected ios::nocreate, it's instead being resolved to std::basic_ios::nocreate, which doesn't exist. This may also be a problem on non-cygwin platforms that use GCC, but I can't speak for them. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
