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]
Other format: [Raw text]

Re: a warning to implement


> 
> >>Perhaps there should be an option to enable *all* warnings?
> 
> Sounds reasonable. Too bad that the obvious name for this option is taken :-)
> 
> Actually we find in the Ada case that there are some warnings that are just
> too specialized to be generally useful since they correspond to specific
> style options that few people follow. For example, in Ada -gnatwd requires
> that all dereferencing be explicit, rather than being implicit as allowed
> by the language. This warning would generate false positives on nearly all
> Ada code, but is useful to a very small minority that wish to follow this
> particular style rule.

Some of the warnings for other languages are similar, so I suspect that
people only *think* they would want to enable all warnings.



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