This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug c++/15317] __attribute__ unused in first parameter of constructor gives error


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-06 14:33 -------
With a simple testcase I cannot verify it:
struct A
{
void f(const int *, const int *);
};

void A::f(__attribute__((unused)) const int *i, __attribute__((unused)) const int *i2)
{
}

Are sure that UNUSED is defined to be the attribute?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15317


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