fixed bogus undefined symbols with hpux compiler

This commit is contained in:
Jeff Hill
2002-11-04 23:25:41 +00:00
parent a1e29d53e3
commit 6e2262aecf
16 changed files with 122 additions and 3 deletions

View File

@@ -68,6 +68,13 @@ void msgForMultiplyDefinedPV::operator delete ( void *pCadaver,
}
#endif
void * msgForMultiplyDefinedPV::operator new ( size_t )
{
// The HPUX compiler seems to require this even though no code
// calls it directly
throw std::logic_error ( "why is the compiler calling private operator new" );
}
void msgForMultiplyDefinedPV::operator delete ( void * )
{
// Visual C++ .net appears to require operator delete if