This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Buggy test 20_util/exchange/1.cc
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 15 Oct 2013 19:35:47 +0100
- Subject: Re: Buggy test 20_util/exchange/1.cc
- Authentication-results: sourceware.org; auth=none
- References: <CAD_=9DTa1_awPYmgjfR7NvYdRzC-38JaPmuBTdxirNrTRoan1w at mail dot gmail dot com> <CAH6eHdS9AJF8KVPqOKJjxd-SqpjPBmiFxeRWPg2icc_gXcjhcQ at mail dot gmail dot com> <CAD_=9DRDcc=n5Tad4TFtN1hU=B3swM7_frEpGKSkYk1GEp1atA at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1310152028550 dot 4124 at laptop-mg dot saclay dot inria dot fr> <CAD_=9DSBxPKK7F3Xb0L0xQ-KGt88X+JPyeFT=Twj6DFUQ_1J-g at mail dot gmail dot com>
On 15 October 2013 19:33, Diego Novillo wrote:
> On Tue, Oct 15, 2013 at 11:30 AM, Marc Glisse <marc.glisse@inria.fr> wrote:
>> On Tue, 15 Oct 2013, Diego Novillo wrote:
>>
>>> +int f(int __attribute__((unused)) x) { return 0; }
>>> +
>>> +double f(double __attribute__((unused)) x) { return 0; }
>>
>>
>> This is C++, why do you want to name unused arguments?
>
> Years of C hacking have scarred me deeply. I'll remove it.
:-)
OK to commit with that change - thanks!