This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
fstream.h
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: fstream.h
- From: Kip Macy <kip at lyris dot com>
- Date: Thu, 29 Jul 1999 18:57:45 -0700 (PDT)
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