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] |
I like this idea as a way of organizing things. It's more complicated, but I think it could be a sort of layer superimposed on basic machinery; in other words, names can be arbitrary, but if you use the hierarchical scheme for a name, you get to ask for groups of warnings "for free".
It's also worth thinking about what you're going to do when the (English) message changes. -Wunused-class is a mnemonic for: warning: class `T' is unused but if it later becomes apparent that a better way to word the error is: warning: class `T' is defined but never referenced then it's pretty confusing. I know that as we tweak the new parser, both warning error messages will probably change substantially. -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |