Please use __attribute__ ((__unused__)) instead, since the plain spelling ((unused)) without underscores might conflict with otherwise perfectly standard-complying sources that declare "unused" somehow.
Created attachment 4139 [details] Patch to fix the problem 2003-06-02 Richard B. Kreckel <Richard.Kreckel@GiNaC.DE> * config/cpu/mips/bits/atomicity.h: Change __attribute__ ((unused)) to __attribute__ ((__unused__)). * config/os/aix/atomicity.h: Same.
From <http://gcc.gnu.org/contribute.html>: Patches to the standard C++ library (libstdc++-v3), and its web pages, and discussion of such patches, should go to libstdc++@gcc.gnu.org as well as to gcc-patches. Can you send your patch to both gcc-patches@gcc.gnu.org and libstdc++@gcc.gnu.org?
Sure, if it helps. Welcome to the bureaucracy. (I was under the impression that Bugzilla's patch-facility was actually being used.) </inappropriate_remark>
Patch has been submitted: <http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00112.html>.
Applied to mainline (3.4) and 3.3 branches.