This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

[ARI] Status of ATTRIBUTE_UNUSED in gdb sources


  The Awk Regression Index page:
http://sourceware.org/gdb/current/ari/

Only has one Critical entry at top before the big table:

BUG ATTRIBUTE_UNUSED with 18 occurences.
Description is:
	Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with
-Werror and, consequently, is not able to tolerate false warnings. Since
-Wunused-param produces such warnings, neither that warning flag nor
ATTRIBUTE_UNUSED are used by GDB.

  Is this comment still valid, from the compiler point of view?
Does gcc still have such problems?

  If yes, is it OK if I remove all
ATTRIBUTE_UNUSED from sources?
 
  If no, shouldn't we change that policy?


Pierre Muller
as ARI maintainer for GDB




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