This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] gdb.cp/overload.cc: add cast to prevent compiler warning
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 28 Feb 2011 11:15:13 -0700
- Subject: Re: [RFA] gdb.cp/overload.cc: add cast to prevent compiler warning
- References: <4D6ABBFF.5030401@vmware.com> <20110228050102.GE30306@adacore.com> <4D6BE349.60904@vmware.com>
>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
>> int arg13 = 200;
Michael> I don't know -- I dunno what the author's intention was.
I'm sure it is just a paste-o.
Anyway the two are identical, but writing plain "200" is not confusing
and weird.
Tom