workaround for gnu g++ bug

This commit is contained in:
Jeff Hill
2002-04-25 20:50:38 +00:00
parent 362709e356
commit 1d6a15594b
5 changed files with 41 additions and 5 deletions

View File

@@ -116,7 +116,14 @@ void syncGroupWriteNotify::operator delete ( void *pCadaver,
# if defined (_MSC_VER) && _MSC_VER <= 1300
void syncGroupWriteNotify::operator delete ( void * ) // avoid visual c++ 7 bug
{
throw std::logic_error ( "_MSC_VER == 1300 bogus stub called?" );
throw std::logic_error ( "bogus operator delete called?" );
}
# endif
# if __GNUC__==2 && __GNUC_MINOR_<=96
void syncGroupWriteNotify::operator delete ( void *, size_t ) // avoid gnu g++ bug
{
throw std::logic_error ( "bogus operator delete called?" );
}
# endif