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


>>>>> 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


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