Good $daytime,

Could someone please suggest where to look for g++/egcs builtin
declarations?

----- 8< ----- new.cc ----- 197 -----
void operator delete ( void *blk )
{
        deleteBlock(blk);
}

void operator delete[] ( void *blk )
{
        deleteBlock(blk);
}
----- 8< ----- new.cc ----- 206 -----

new.cc: In function `void operator delete(void *)':
new.cc:198: warning: declaration of `operator delete(void *)' throws different 
exceptions
<internal>:198: warning: previous declaration here
new.cc: In function `void operator delete [](void *)':
new.cc:203: warning: declaration of `operator delete [](void *)' throws different 
exceptions
<internal>:203: warning: previous declaration here

Evidently there's something to throw() that is missing.  But my ANSI
C++ handbook doesn't mention any.

Thank you so much in advance.

  Regards,
  Willy.

--
"No easy hope or lies        | Vitaly "Willy the Pooh" Fedrushkov
 Shall bring us to our goal, | Information Technology Division
 But iron sacrifice          | Chelyabinsk State University
 Of Body, Will and Soul."    | mailto:[EMAIL PROTECTED]  +7 3512 156770
                   R.Kipling | http://www.csu.ac.ru/~willy  VVF1-RIPE

Reply via email to