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

[Bug c/51579] GCC should be able report a warning for usage of parameters marked with __attribute__((unused))


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51579

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-12-16 15:45:15 UTC ---
To be clear, I didn't mean to imply that somebody here is going to add unnamed
parameters to C, only, that apparently *you* are seeing attribute((unused)) as
something meant to solve the same sort of problem (your talking about
signatures, etc, confirmed my suspects) whereas I think those are different
problems. To repeat, I think it's perfectly normal for a parameter marked
attribute((unused)) to be actually used. Anyway, I'm not maintaining the C
front-end, maybe somebody is interested in your proposal, I have no idea.


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