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: new parser: error recovery needs work


>>>>> "Fergus" == Fergus Henderson <fjh@cs.mu.OZ.AU> writes:

  Fergus> We've discussed this before.  The concensus last time (as I
  Fergus> understood it) was that alphanumeric message codes where a
  Fergus> better alternative to message numbers.  Message codes are
  Fergus> easier to remember, more self-documenting, and avoid
  Fergus> collisions between new warnings added on different CVS
  Fergus> branches or in different repositories.

Another advantage of message codes (and to a lesser extent, message
numbers) is that it's much easier to filter warnings that you don't
care about.  Emacs' compilation mode, for example, could be modified
to deal with this.  It could almost satisfy every request I've heard
for "give me a command line option to silence <x> warning".

Ben


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