basic_istream error building SPEC eon on AIX

David Edelsohn dje@watson.ibm.com
Mon Aug 11 22:55:00 GMT 2003


>>>>> Gabriel Dos Reis writes:

Gaby> |    std::basic_istream<char, std::char_traits<char> >::get(unsigned char&)'

Gaby> This does not exist.

	252.eon includes the following code:

ggRasterSurfaceTexture::ggRasterSurfaceTexture( istream& in) {
...
   unsigned char red, green, blue;
   in.get(red); // eat a byte
...
          in.get(red);
          in.get(green);
          in.get(blue);


Why did this work before?  Why do the GCC SPEC testers runs by Andreas and
Diego compile this?

	Is this a case of G++ being too pedantic in non-pedantic mode?

David



More information about the Libstdc++ mailing list