Make Error

Stan Shebs shebs@apple.com
Wed Jul 31 13:19:00 GMT 2002


Benjamin Kosnik wrote:

>>the file fstream.cc seems to miss in the cvs. At least when I'd try to
>>co.
>>
>
>Ouch. I'm sorry: I just checked it in.
>
Is there something else missing?  A clean Darwin build just now
got me this lovely output:

/Volumes/ios/shebs/gcc/trunk/2002-07-31/gcc/xgcc -shared-libgcc 
-B/Volumes/ios/s
hebs/gcc/trunk/2002-07-31/gcc/ -nostdinc++ 
-L/Volumes/ios/shebs/gcc/trunk/2002-0
7-31/powerpc-apple-darwin5.1/libstdc++-v3/src 
-L/Volumes/ios/shebs/gcc/trunk/200
2-07-31/powerpc-apple-darwin5.1/libstdc++-v3/src/.libs 
-B/usr/local/powerpc-appl
e-darwin5.1/bin/ -B/usr/local/powerpc-apple-darwin5.1/lib/ -isystem 
/usr/local/p
owerpc-apple-darwin5.1/include -nostdinc++ 
-I/Volumes/ios/shebs/gcc/trunk/2002-0
7-31/powerpc-apple-darwin5.1/libstdc++-v3/include/powerpc-apple-darwin5.1 
-I/Vol
umes/ios/shebs/gcc/trunk/2002-07-31/powerpc-apple-darwin5.1/libstdc++-v3/include
 -I../../../../gcc/libstdc++-v3/libsupc++ 
-I../../../../gcc/libstdc++-v3/libmath
 -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings 
-Winline -f
diagnostics-show-location=once -g -c 
../../../../gcc/libstdc++-v3/src/fstream.cc
 -o fstream.o
../../../../gcc/libstdc++-v3/src/fstream.cc:106: error: specialization of
   typename _Traits::int_type std::basic_filebuf<_CharT,
   _Traits>::_M_underflow_common(bool) [with _CharT = wchar_t, _Traits =
   std::char_traits<wchar_t>] after instantiation
../../../../gcc/libstdc++-v3/src/fstream.cc:106: error: prototype for 
`typename
   _Traits::int_type std::basic_filebuf<_CharT,
   _Traits>::_M_underflow_common(bool) [with _CharT = wchar_t, _Traits =
   std::char_traits<wchar_t>]' does not match any in class `
   std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >'
/Volumes/ios/shebs/gcc/trunk/2002-07-31/powerpc-apple-darwin5.1/libstdc++-v3/inc
lude/fstream:141: error: candidate
    is: typename _Traits::int_type std::basic_filebuf<_CharT,
   _Traits>::_M_underflow_common(bool) [with _CharT = wchar_t, _Traits =
   std::char_traits<wchar_t>]
../../../../gcc/libstdc++-v3/src/fstream.cc:106: error: `typename
   _Traits::int_type std::basic_filebuf<_CharT,
   _Traits>::_M_underflow_common(bool) [with _CharT = wchar_t, _Traits =
   std::char_traits<wchar_t>]' and `typename _Traits::int_type
   std::basic_filebuf<_CharT, _Traits>::_M_underflow_common(bool) [with 
_CharT
   = wchar_t, _Traits = std::char_traits<wchar_t>]' cannot be overloaded
make[4]: *** [fstream.lo] Error 1

Stan





More information about the Libstdc++ mailing list