This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

fstream.h


usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95/../../../../include/g++-3/fstream.
h: In method `class filebuf * fstreambase::rdbuf() const':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95/../../../../include/g++-3/fstream.
h:45: return to `filebuf *' from `const filebuf *' discards qualifiers

This has been a pet peeve of mine for a while, namely that  egcs comes
with code that when compiled generates warnings. However, now that
ignoring const is a compile time error it seems downright goofy.


					-Kip



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