Fix several compilation errors for -DDEBUG

After Adding "-DDEBUG" to the compiler options some files don't
compile any more.
Fix the compilation errors.
This commit is contained in:
Torsten Bögershausen
2021-09-01 11:06:57 +02:00
parent 7ce69155a9
commit 420fb45fbc
6 changed files with 12 additions and 18 deletions

View File

@@ -127,7 +127,7 @@ void timer::privateStart ( epicsTimerNotify & notify, const epicsTime & expire )
# endif
debugPrintf ( ("Start of \"%s\" with delay %f at %p preempting %u\n",
typeid ( this->notify ).name (),
typeid ( this->pNotify ).name (),
expire - epicsTime::getCurrent (),
this, preemptCount ) );
}

View File

@@ -134,7 +134,7 @@ double timerQueue::process ( const epicsTime & currentTime )
epicsGuardRelease < epicsMutex > unguard ( guard );
debugPrintf ( ( "%5u expired \"%s\" with error %f sec\n",
N++, typeid ( this->pExpireTmr->notify ).name (),
N++, typeid ( this->pExpireTmr->pNotify ).name (),
currentTime - this->pExpireTmr->exp ) );
try {
expStat = pTmpNotify->expire ( currentTime );