Certain versions of gcc have problems with perfectly valid language
constructs.  This isn't anything new -- you should probably either upgrade
the version of gcc you're using, or downgrade to the one we support.

We've pretty much given up on trying to support every version of gcc out
there, since there's so much instability.

Dave



                                                                                
                                              
                      "Juergen                                                  
                                              
                      Hermann"                 To:      
"[email protected]" <[email protected]>         
                      <[EMAIL PROTECTED]>              cc:      (bcc: David N 
Bertoni/CAM/Lotus)                                      
                                               Subject: Strange gcc error       
                                              
                      09/26/2001 05:18                                          
                                              
                      AM                                                        
                                              
                      Please respond                                            
                                              
                      to "Juergen                                               
                                              
                      Hermann"                                                  
                                              
                                                                                
                                              
                                                                                
                                              



Hi!

While using 1.2 / 1.5.1, I got the following error:

In file included from /netsite/include/xalan-1.2/XalanDOM/XalanNode.hpp:63,
                 from
/netsite/include/xalan-1.2/XalanDOM/XalanDocument.hpp:63,
                 from ../../../src/python/util/PyXMLUtil.cpp:25:
/netsite/include/xalan-1.2/XalanDOM/XalanDOMString.hpp: In function `const
clas
s XalanDOMString TranscodeFromLocalCodePage(const CharVectorType &)':
/netsite/include/xalan-1.2/XalanDOM/XalanDOMString.hpp:1114: parse error
before
 `=='

I had to change the line

             assert(real_size_type(size_type(theSize)) == theSize);

to

             assert(((real_size_type)(size_type)theSize) == theSize);

(i.e. C-style casts instead of funktion-like ones).


BTW, this list didn't even get the announcement for Xalan 1.2, could we
finally move the C++ traffic?!



Ciao, J�rgen

--
J�rgen Hermann, Developer ([EMAIL PROTECTED])
WEB.DE AG, http://webde-ag.de/






Reply via email to