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]

extra parameters to operator delete ?



Hello there,

I found that the following code, compiled by egcs-980816 -ansi -pedantic
on Linux/Alpha, produces no warning or error message.

void
operator delete( void * , double)
{
};

I believe it is an error to have double in the parameter list.

Regards



David C Binderman MSc BSc	+44 1293 534847		dcb@pncl.co.uk



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