PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3301 *** shadow/3301 Tue Aug 28 05:04:24 2001 --- shadow/3301.tmp.7295 Tue Aug 28 07:30:58 2001 *************** *** 2,9 **** | XalanDOM/XalanDOMString.hpp:1113: parse error before `==' | +----------------------------------------------------------------------------+ | Bug #: 3301 Product: XalanC | ! | Status: NEW Version: 1.2.x | ! | Resolution: Platform: PC | | Severity: Normal OS/Version: Linux | | Priority: Other Component: XalanC | +----------------------------------------------------------------------------+ --- 2,9 ---- | XalanDOM/XalanDOMString.hpp:1113: parse error before `==' | +----------------------------------------------------------------------------+ | Bug #: 3301 Product: XalanC | ! | Status: RESOLVED Version: 1.2.x | ! | Resolution: WONTFIX Platform: PC | | Severity: Normal OS/Version: Linux | | Priority: Other Component: XalanC | +----------------------------------------------------------------------------+ *************** *** 30,33 **** XalanDOM/XalanDOMString.hpp: In function `const XalanDOMString TranscodeFromLocalCodePage (const CharVectorType &)': XalanDOM/XalanDOMString.hpp:1113: parse error before `==' ! make: *** [/home/packages/xml-xalan/c/obj/XalanAttr.o] Error 1 --- 30,48 ---- XalanDOM/XalanDOMString.hpp: In function `const XalanDOMString TranscodeFromLocalCodePage (const CharVectorType &)': XalanDOM/XalanDOMString.hpp:1113: parse error before `==' ! make: *** [/home/packages/xml-xalan/c/obj/XalanAttr.o] Error 1 ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-08-28 07:30 ------- ! Various versions of gcc have problems with perfectly legal constructs. ! Unfortunately, trying to make code work with this sort of instability is next ! to impossible, since it works in one version, and gets broken in the next. In ! this case, it's the constructor-style cast syntax that's the problem. Just ! change: ! ! assert(real_size_type(size_type(theSize)) == theSize); ! ! to: ! ! assert((real_size_type)(size_type)theSize == theSize); ! ! Or better yet, get a working version of gcc.
