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

@@ -223,6 +223,13 @@ void timer::show ( unsigned int level ) const
}
}
void * timer::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 timer::operator delete ( void * )
{
// Visual C++ .net appears to require operator delete if
@@ -234,6 +241,13 @@ void timer::operator delete ( void * )
__FILE__, __LINE__ );
}
void * epicsTimerForC::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 epicsTimerForC::operator delete ( void * )
{
// Visual C++ .net appears to require operator delete if