This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: basic_istream error building SPEC eon on AIX


>	I recently tried to build SPEC with GCC 3.4 and discovered that
>252.eon will not build.  After a warning about deprecated headers, I
>receive errors about no matching function.  When I reverted to GCC 3.3.1,
>I received the same error.  This is a regression.

I think this is a known issue with eon.

>	Is this a bug in libstdc++ or G++?  Anyone know what's going on?

This looks like a bug in eon.

>ggRasterSurfaceTexture.cc:58: error: no matching function for call to `
>   std::basic_istream<char, std::char_traits<char> >::get(unsigned char&)'
>/a/sp1n101en1.watson.ibm.com./export/sp1n101-fs1/dje/install/powerpc-ibm-aix5.1.0.0-20030810/bin/../lib/gcc/powerpc-ibm-aix5.1.0.0/3.4/../../../../include/c++/3.4/bits/istream.tcc:504: note: candidates
>   are: typename std::basic_istream<_CharT, _Traits>::int_type 
>   std::basic_istream<_CharT, _Traits>::get() [with _CharT = char, _Traits = 
>   std::char_traits<char>]
>/a/sp1n101en1.watson.ibm.com./export/sp1n101-fs1/dje/install/powerpc-ibm-aix5.1.0.0-20030810/bin/../lib/gcc/powerpc-ibm-aix5.1.0.0/3.4/../../../../include/c++/3.4/bits/istream.tcc:536: note: 
>                  std::basic_istream<_CharT, _Traits>& 
>   std::basic_istream<_CharT, _Traits>::get(_CharT&) [with _CharT = char, 
>   _Traits = std::char_traits<char>]

use istream::get(char), not non-existent istream::get(unsigned char)

-benjamin


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