This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Results for g++ 3.4.0 application testing on i686-pc-linux-gnu


Thanks Peter,

root_v3.05.01:
Although gcc 3.4 compiles this code distribution, the stress test does not
pass. This is a regression with respect to gcc 3.3. All newer versions of root
do not compile. The file gcc3strm.cxx located in the root/cint/src directory
is rejected because of changes in the libstdc++ implementation.


I have just checked the latter issue (with root_v3.10.02): it's due streamoff being now
a 64 bit type (~long long), instead of a long. There isn't much we can do for this, if we
don't want to renounce to LFS support.


Changing gcc3strm.cxx to use streamoff (not an 'hardwired' long) and adding to
cint/lib/gcc3strm/iostrm.h something like:


   inline ostream& operator<< (ostream& ost, long long c)
     {return(ost.operator<<(c));}

and so on, should suffice to update the application for 3.4.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]