This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

Re: -Wall -Wno-unused-param


Eli Zaretskii wrote:
> 
>    With regard to ATTRIBUTE_UNUSED, GDB is sitting at a cross road where
>    people could either go through and add that everywhere or just require
>    people to use a state-of-the-art compiler to check for warnings.  I like
>    the latter, its easier overall :-)
> 
> For reasons I'd pefer not to go into here, I (still) don't trust GCC
> 2.95.x enough to rely on the latest version of the compiler.
> 
> I've already changed go32-nat.c and ser-go32.c to use ATTRIBUTE_UNUSED
> so as to shut up the compiler.  YMMV.

FYI, I've no intention of requiring people to use that compiler.  I'll
most likely set up a script that counts up compiler warnings and
publishes the results.

	enjoy,
		Andrew

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