This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: -Weffc++
- To: Colin Fox <cfox at crystalcherry dot com>
- Subject: Re: -Weffc++
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 16 Jul 2001 13:54:08 +0200
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <995282443.7860.0.camel@elgrande>
Colin Fox <cfox@crystalcherry.com> writes:
| Hey there.
|
| gcc has a great warning option: -Weffc++, which would be really nice to
| be able to use.
|
| Unfortunately, when compiling with the standard libraries, we get a ton
| of warnings.
|
| Are you guys interested in getting rid of these warnings? According to
| the Effective C++ book, a number of them could signify actual problems
| (at least as far as I understand).
Hi,
Thanks for the feedback.
The Standard library was not designed to blindly follow what is
considered "good style" in one book or another -- actually the
standard library isn't an example of a good "Object Oriented" library
(if those last words have some meanings).
The warnings you're getting are bugs in the compiler in the sense that
we should not warn in system headers if not asked.
Thanks,
-- Gaby