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: Marc Glisse <marc dot glisse at inria dot fr>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 15 Oct 2013 20:30:42 +0200 (CEST)
- 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>
- Reply-to: libstdc++ at gcc dot gnu dot org
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?
--
Marc Glisse