This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: gas warning fixes 8


Did you know that GCC can selectively enable unused warnings and hence not enable the useless --Wunused-param option? No need for all the attribute unused sillyness.

How would gcc tell the difference between an intentionally unused
parameter, and an accidentally unused parameter?
It doesn't. But then, GCC doesn't report an intentionally unused parameter that is being used either.

Andrew



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