This is the mail archive of the gcc@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]

Re: Effective C++ Warnings (-Weffc++)


> I am sure that this is not the appropriate list from which to seek standard 
> library changes/cleanup, so my question becomes this:

This list is not. The list for libstdc++ version 3 would be, though.

>    Is it possible to suppress warnings such as these on a per-file (or 
> directory) basis?

No. The compiler tells system headers from other headers, and applies
relaxed rules for system headers in some cases.

> On a somewhat related topic, is there a list of exactly which
> Effective C++ items are analyzed by the "Weffc++" warning code?  The
> only documentation I can find says, "Warn about violation of some
> style rules from 'Effective C++' by Scott Meyers."

I don't think so. Grepping for warn_ecpp in the gcc/cp directory of
egcs will give you all the sources for warnings.

Regards,
Martin


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