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=17358>. 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=17358 C++ namespace support in IconvFBSD doesn't compile Summary: C++ namespace support in IconvFBSD doesn't compile Product: Xerces-C++ Version: 2.2.0 Platform: PC OS/Version: FreeBSD Status: NEW Severity: Normal Priority: Other Component: Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This applies to FreeBSD 4.5 with g++ 2.95.3, also reported on FreeBSD 4.7 with g++ 3.0.4. After "runConfigure -pfreebsd -d -rnone", the error is: c++ -fPIC -DFREEBSD -c -I/home/mjc/src/xerces-c-src2_2_0.new/include -g -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DAPP_NO_THREADS -DXML_USE_NO_THREADS -DXML_USE_NETACCESSOR_SOCKET -o /home/mjc/src/xerces-c-src2_2_0.new/obj/FREEBSD/IconvFBSDTransService.o IconvFBSDTransService.cpp IconvFBSDTransService.cpp:218: `chLatin_I' was not declared in this scope IconvFBSDTransService.cpp:218: `chLatin_C' was not declared in this scope IconvFBSDTransService.cpp:218: `chLatin_o' was not declared in this scope IconvFBSDTransService.cpp:218: `chLatin_n' was not declared in this scope IconvFBSDTransService.cpp:218: `chLatin_v' was not declared in this scope IconvFBSDTransService.cpp:219: `chNull' was not declared in this scope IconvFBSDTransService.cpp:592: syntax error before `::' IconvFBSDTransService.cpp:687: syntax error before `::' IconvFBSDTransService.cpp:691: `comp2' was not declared in this scope IconvFBSDTransService.cpp:695: syntax error before `while' This patch solves the problem: --- xerces-c-src2_2_0/src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp Fri Feb 7 11:54:03 2003 +++ xerces-c-src2_2_0.new/src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp Tue Feb 25 14:51:14 2003 @@ -103,8 +103,6 @@ # include <errno.h> # include <machine/endian.h> -XERCES_CPP_NAMESPACE_BEGIN - // --------------------------------------------------------------------------- // Description of encoding schemas, supported by iconv() // --------------------------------------------------------------------------- @@ -209,6 +207,8 @@ #include <stdlib.h> #include <stdio.h> +XERCES_CPP_NAMESPACE_BEGIN + // --------------------------------------------------------------------------- // Local, const data // --------------------------------------------------------------------------- @@ -1563,6 +1563,6 @@ return (rc != (size_t)-1) && (len == 0); } -XERCES_CPP_NAMESPACE_END - #endif /* XML_USE_LIBICONV */ + +XERCES_CPP_NAMESPACE_END --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
