build problem solaris 8 / egcs 2.96 snapshot 20000306
Bruno.Voigt@ic3s.de
Bruno.Voigt@ic3s.de
Sat Apr 1 00:00:00 GMT 2000
Okay,
while having trouble using the build cvs libstdc++ on sol8 made with the
gcc 2.95.2 compiler,
where I get errors compiling my app as described hierin before:
g++ -c -I /usr/local/include/g++-v3 guregistry.cpp
In file included from /usr/local/include/g++-v3/bits/std_ios.h:43,
from /usr/local/include/g++-v3/bits/std_istream.h:37,
from /usr/local/include/g++-v3/bits/std_fstream.h:37,
from /usr/local/include/g++-v3/fstream:2,
from guregistry.cpp:104:
/usr/local/include/g++-v3/bits/ios_base.h:144: parse error before `{'
/usr/local/include/g++-v3/bits/ios_base.h:152: destructor `failure' must
match class name `ios_base'
/usr/local/include/g++-v3/bits/ios_base.h:226: parse error before
`protected'
/usr/local/include/g++-v3/bits/ios_base.h:239: syntax error before `;'
I tried it with the egcs 2.96 snapshot dated 6. March 2000 from Freeware
for Solaris ( http://smc.vnet.net/ ).
Bootstrapping and installing this snapshot is no problem, but after
replacing the old libstdc++/libio
with the current libstdc++ cvs and making bootstrap again I get the
following error:
In file included from
../../../../egcs-20000306l/libstdc++/src/complexf.cc:5:
../../../../egcs-20000306l/libstdc++/src/complex.cc: In function
`std::complex<_Tp> std::pow (const _Tp
../../../../egcs-20000306l/libstdc++/src/complex.cc: &, const std::complex
<_Tp> &) [with _Tp = float]':
../../../../egcs-20000306l/libstdc++/src/complex.cc:193: cannot convert
`complex double' to `complex
../../../../egcs-20000306l/libstdc++/src/complex.cc:193: float' for
argument `1' to `cexpf (complex
../../../../egcs-20000306l/libstdc++/src/complex.cc:193: float)'
../../../../egcs-20000306l/libstdc++/src/complex.cc:193: warning: control
reaches end of non-void
../../../../egcs-20000306l/libstdc++/src/complex.cc:193: warning: function
`std::pow (const _Tp &,
../../../../egcs-20000306l/libstdc++/src/complex.cc:193: warning: const
std::complex<_Tp> &) [with _Tp
../../../../egcs-20000306l/libstdc++/src/complex.cc:193: warning: = float]'
make[3]: *** [complexf.lo] Error 1
make[3]: Leaving directory
`/export/home/bruno/bld-egcs2/sparc-sun-solaris2.8/libstdc++/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/export/home/bruno/bld-egcs2/sparc-sun-solaris2.8/libstdc++'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/export/home/bruno/bld-egcs2/sparc-sun-solaris2.8/libstdc++'
make: *** [all-target-libstdc++] Error 2
So what is the better starting point for libstdc++ on sol8/sparc-v9?
gcc 2.95.2 or egcs 2.96 snapshots?
Bruno
More information about the Libstdc++
mailing list