Results for g++ 3.4.0 application testing on i686-pc-linux-gnu
Paolo Carlini
pcarlini@suse.de
Mon Mar 15 13:15:00 GMT 2004
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.
More information about the Gcc
mailing list