This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Buggy test 20_util/exchange/1.cc


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.


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