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]

Re: [RFA 0/6] Add -Wunused-but-set-parameter and -Wunused-but-set-variable


Yao> Can you use cross compiler to cross build native gdb to catch these
Yao> warnings?

Tom> It seems I won't get around to this.  How about I check in everything
Tom> except the patch to enable the warning?  That way at least some progress
Tom> has been made.

Yao> Yes, that is fine by me.

Thanks.  I've pushed the series except for the final patch.

I filed a bug for the last step:

https://sourceware.org/bugzilla/show_bug.cgi?id=20371


I tried adding a couple of other warnings recently, namely
-Wmisleading-indentation (gdb is clean here) and -Wduplicated-cond
(this exposed one real bug, filed; and a couple of minor non-bugs in the
python directory).

However, since I can't really do builds on other platforms, someone else
will have to submit those patches.

Tom


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