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: Diego Novillo <dnovillo at google dot com>
- To: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Date: Tue, 15 Oct 2013 11:33:36 -0700
- 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>
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.
Diego.