This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Emit a warning for ineffective set VAR = EXP command
- From: Tom Tromey <tromey at redhat dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: "Maciej W. Rozycki" <macro at codesourcery dot com>, "gdb-patches\ at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Mon, 07 May 2012 13:35:58 -0600
- Subject: Re: [RFA] Emit a warning for ineffective set VAR = EXP command
- References: <8781499A-A489-42D0-80B1-75136331DBDB@adacore.com> <alpine.DEB.1.10.1205041958130.18334@tp.orcam.me.uk> <EFDD29C9-79FB-468E-B29B-C1783123E41D@adacore.com>
>>>>> "Tristan" == Tristan Gingold <gingold@adacore.com> writes:
Tristan> I am not opposed to disable warnings for pre/post inc/dec.
Tristan> But this usage is dubious (the help explicitly mentions VAR=EXP !)
Tristan> Opinion ?
Either way is fine by me.
I suppose it seems a little pedantic to warn about the ++ operator.
Tom