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, 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


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