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]

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.

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

Thanks, David


/farm/dje/install/powerpc-ibm-aix5.1.0.0-20030810/bin/g++ -c -o ggRasterSurfaceTexture.o       -I. -DNDEBUG     -O2 -mcpu=power4 -fno-branch-count-reg -fold-unroll-loops -ffast-math -fnew-ra -ffunction-sections -fdata-sections -O2 -mcpu=power4 -fno-branch-count-reg -fold-unroll-loops -ffast-math -fnew-ra -ffunction-sections -fdata-sections  ggRasterSurfaceTexture.cc
In file included from /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/backward/iostream.h:31,
                 from ./ggRaster.h:58,
                 from ./ggRasterSurfaceTexture.h:42,
                 from ggRasterSurfaceTexture.cc:46:
/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/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
ggRasterSurfaceTexture.cc: In constructor `
   ggRasterSurfaceTexture::ggRasterSurfaceTexture(std::istream&)':
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>]
/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:570: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(_CharT*, streamsize, _CharT) [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/istream:326: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(_CharT*, streamsize) [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:612: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, 
   _Traits>&, _CharT) [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/istream:359: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, 
   _Traits>&) [with _CharT = char, _Traits = std::char_traits<char>]
ggRasterSurfaceTexture.cc:63: 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>]
/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:570: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(_CharT*, streamsize, _CharT) [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/istream:326: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(_CharT*, streamsize) [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:612: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, 
   _Traits>&, _CharT) [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/istream:359: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, 
   _Traits>&) [with _CharT = char, _Traits = std::char_traits<char>]
ggRasterSurfaceTexture.cc:64: 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>]
/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:570: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(_CharT*, streamsize, _CharT) [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/istream:326: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(_CharT*, streamsize) [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:612: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, 
   _Traits>&, _CharT) [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/istream:359: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, 
   _Traits>&) [with _CharT = char, _Traits = std::char_traits<char>]
ggRasterSurfaceTexture.cc:65: 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>]
/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:570: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(_CharT*, streamsize, _CharT) [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/istream:326: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(_CharT*, streamsize) [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:612: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, 
   _Traits>&, _CharT) [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/istream:359: note: 
                  std::basic_istream<_CharT, _Traits>& 
   std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, 
   _Traits>&) [with _CharT = char, _Traits = std::char_traits<char>]


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