avoid useless vc++ warning
This commit is contained in:
@@ -36,11 +36,20 @@
|
||||
#include "autoPtrDestroy.h"
|
||||
#include "cac.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < CASG, 128 >;
|
||||
template class epicsSingleton < tsFreeList < struct CASG, 128 > >;
|
||||
template class tsFreeList < syncGroupReadNotify, 128, epicsMutexNOOP >;
|
||||
template class tsFreeList < syncGroupWriteNotify, 128, epicsMutexNOOP >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < struct CASG, 128 > > CASG::pFreeList;
|
||||
|
||||
CASG::CASG ( oldCAC &cacIn ) :
|
||||
|
||||
@@ -21,9 +21,18 @@
|
||||
#include "virtualCircuit.h"
|
||||
#include "bhe.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < bhe, 1024 >;
|
||||
template class epicsSingleton < tsFreeList < bhe, 1024 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class bhe, 1024 > > bhe::pFreeList;
|
||||
|
||||
void * bhe::operator new ( size_t size )
|
||||
|
||||
@@ -37,6 +37,11 @@
|
||||
#include "bhe.h"
|
||||
#include "net_convert.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class resTable < nciu, chronIntId >;
|
||||
template class chronIntIdResTable < nciu >;
|
||||
template class resTable < baseNMIU, chronIntId >;
|
||||
@@ -49,6 +54,10 @@ template class tsFreeList < netReadNotifyIO, 1024, epicsMutexNOOP >;
|
||||
template class tsFreeList < netWriteNotifyIO, 1024, epicsMutexNOOP >;
|
||||
template class tsFreeList < netSubscription, 1024, epicsMutexNOOP >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
// TCP response dispatch table
|
||||
const cac::pProtoStubTCP cac::tcpJumpTableCAC [] =
|
||||
{
|
||||
|
||||
@@ -21,8 +21,17 @@
|
||||
#include "epicsGuard.h"
|
||||
#include "cacIO.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class epicsSingleton < cacServiceList >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsShareDef epicsSingleton < cacServiceList > pGlobalServiceListCAC;
|
||||
|
||||
cacServiceList::cacServiceList ()
|
||||
|
||||
@@ -19,9 +19,18 @@
|
||||
#include "iocinf.h"
|
||||
#include "comBuf.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < comBuf, 0x20 >;
|
||||
template class epicsSingleton < tsFreeList < comBuf, 0x20 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class comBuf, 0x20 > > comBuf::pFreeList;
|
||||
|
||||
bool comBuf::flushToWire ( wireSendAdapter &wire )
|
||||
|
||||
@@ -19,9 +19,18 @@
|
||||
#include "iocinf.h"
|
||||
#include "oldAccess.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < getCallback, 1024 >;
|
||||
template class epicsSingleton < tsFreeList < getCallback, 1024 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class getCallback, 1024 > > getCallback::pFreeList;
|
||||
|
||||
getCallback::getCallback ( oldChannelNotify &chanIn,
|
||||
|
||||
@@ -22,9 +22,18 @@
|
||||
#include "oldAccess.h"
|
||||
#include "cac.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < getCopy, 1024 >;
|
||||
template class epicsSingleton < tsFreeList < getCopy, 1024 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class getCopy, 1024 > > getCopy::pFreeList;
|
||||
|
||||
getCopy::getCopy ( oldCAC &cacCtxIn, oldChannelNotify &chanIn,
|
||||
|
||||
@@ -21,9 +21,18 @@
|
||||
#include "iocinf.h"
|
||||
#include "hostNameCache.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < hostNameCache, 16 >;
|
||||
template class epicsSingleton < tsFreeList < hostNameCache, 16 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < hostNameCache, 16 > > hostNameCache::pFreeList;
|
||||
|
||||
hostNameCache::hostNameCache ( const osiSockAddr &addr, ipAddrToAsciiEngine &engine ) :
|
||||
|
||||
@@ -25,9 +25,18 @@
|
||||
#include "caerr.h" // for ECA_DBLCHNL
|
||||
#undef epicsExportSharedSymbols
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < msgForMultiplyDefinedPV, 16 >;
|
||||
template class epicsSingleton < tsFreeList < msgForMultiplyDefinedPV, 16 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class msgForMultiplyDefinedPV, 16 > >
|
||||
msgForMultiplyDefinedPV::pFreeList;
|
||||
|
||||
|
||||
@@ -31,9 +31,18 @@
|
||||
#include "cadef.h"
|
||||
#include "db_access.h" // for INVALID_DB_REQ
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < class nciu, 1024 >;
|
||||
template class epicsSingleton < tsFreeList < class nciu, 1024 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class nciu, 1024 > > nciu::pFreeList;
|
||||
|
||||
nciu::nciu ( cac & cacIn, netiiu & iiuIn, cacChannelNotify & chanIn,
|
||||
|
||||
@@ -21,9 +21,18 @@
|
||||
#include "oldAccess.h"
|
||||
#include "cac.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < oldChannelNotify, 1024 >;
|
||||
template class epicsSingleton < tsFreeList < oldChannelNotify, 1024 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < struct oldChannelNotify, 1024 > > oldChannelNotify::pFreeList;
|
||||
|
||||
extern "C" void cacNoopConnHandler ( struct connection_handler_args )
|
||||
|
||||
@@ -14,9 +14,18 @@
|
||||
#include "iocinf.h"
|
||||
#include "oldAccess.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < oldSubscription, 1024 >;
|
||||
template class epicsSingleton < tsFreeList < oldSubscription, 1024 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < struct oldSubscription, 1024 > > oldSubscription::pFreeList;
|
||||
|
||||
oldSubscription::~oldSubscription ()
|
||||
|
||||
@@ -19,9 +19,18 @@
|
||||
#include "iocinf.h"
|
||||
#include "oldAccess.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < class putCallback, 1024 >;
|
||||
template class epicsSingleton < tsFreeList < class putCallback, 1024 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class putCallback, 1024 > > putCallback::pFreeList;
|
||||
|
||||
putCallback::putCallback ( oldChannelNotify &chanIn,
|
||||
|
||||
@@ -100,9 +100,18 @@ private:
|
||||
*/
|
||||
static tsDLList < repeaterClient > client_list;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < repeaterClient, 0x20 >;
|
||||
template class epicsSingleton < tsFreeList < repeaterClient, 0x20 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < repeaterClient, 0x20 > > repeaterClient::pFreeList;
|
||||
|
||||
static char buf [MAX_UDP_RECV];
|
||||
|
||||
@@ -30,9 +30,18 @@
|
||||
#include "dbChannelIOIL.h"
|
||||
#include "dbPutNotifyBlocker.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template tsFreeList < dbChannelIO >;
|
||||
template class epicsSingleton < tsFreeList < dbChannelIO > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < dbChannelIO > > dbChannelIO::pFreeList;
|
||||
|
||||
dbChannelIO::dbChannelIO ( cacChannelNotify ¬ify,
|
||||
|
||||
@@ -35,9 +35,18 @@
|
||||
#include "dbChannelIOIL.h"
|
||||
#include "dbPutNotifyBlocker.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < dbPutNotifyBlocker, 1024 >;
|
||||
template class epicsSingleton < tsFreeList < dbPutNotifyBlocker, 1024 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < dbPutNotifyBlocker, 1024 > > dbPutNotifyBlocker::pFreeList;
|
||||
|
||||
dbPutNotifyBlocker::dbPutNotifyBlocker ( dbChannelIO &chanIn ) :
|
||||
|
||||
@@ -33,9 +33,18 @@
|
||||
#include "dbChannelIOIL.h"
|
||||
#include "dbPutNotifyBlocker.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class resTable < dbBaseIO, chronIntId >;
|
||||
template class chronIntIdResTable < dbBaseIO >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
class dbServiceIOLoadTimeInit {
|
||||
public:
|
||||
dbServiceIOLoadTimeInit ();
|
||||
|
||||
@@ -31,9 +31,18 @@
|
||||
#include "dbChannelIOIL.h"
|
||||
#include "db_access_routines.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template tsFreeList < dbSubscriptionIO >;
|
||||
template class epicsSingleton < tsFreeList < dbSubscriptionIO > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < dbSubscriptionIO > > dbSubscriptionIO::pFreeList;
|
||||
|
||||
dbSubscriptionIO::dbSubscriptionIO ( dbServiceIO &serviceIO, dbChannelIO &chanIO,
|
||||
|
||||
@@ -36,10 +36,19 @@ private:
|
||||
static epicsSingleton < tsFreeList < class epicsOnceImpl, 16 > > pFreeList;
|
||||
};
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class epicsSingleton < epicsMutex >;
|
||||
template class tsFreeList < class epicsOnceImpl, 16 >;
|
||||
template class epicsSingleton < tsFreeList < class epicsOnceImpl, 16 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < epicsMutex > epicsOnceImpl::pMutex;
|
||||
epicsSingleton < tsFreeList < class epicsOnceImpl, 16 > > epicsOnceImpl::pFreeList;
|
||||
|
||||
|
||||
@@ -13,4 +13,13 @@
|
||||
|
||||
#include "resourceLib.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class intId < unsigned, 8u, sizeof(unsigned)*CHAR_BIT >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
@@ -103,8 +103,17 @@ private:
|
||||
oldFdmgr & operator = ( const oldFdmgr & );
|
||||
};
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class chronIntIdResTable <timerForOldFdmgr>;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsShareFunc fdRegForOldFdmgr::fdRegForOldFdmgr
|
||||
(const SOCKET fdIn, const fdRegType typeIn,
|
||||
const bool onceOnlyIn, fdManager &managerIn,
|
||||
|
||||
@@ -99,9 +99,18 @@ inline void delayVerify::start ( const epicsTime &expireTime )
|
||||
this->timer.start ( *this, expireTime );
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < class delayVerify, 0x20 >;
|
||||
template class epicsSingleton < tsFreeList < class delayVerify, 0x20 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class delayVerify, 0x20 > > delayVerify::pFreeList;
|
||||
|
||||
inline void * delayVerify::operator new ( size_t size )
|
||||
@@ -185,9 +194,18 @@ inline void cancelVerify::start ( const epicsTime &expireTime )
|
||||
this->timer.start ( *this, expireTime );
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < class cancelVerify, 0x20 >;
|
||||
template class epicsSingleton < tsFreeList < class cancelVerify, 0x20 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class cancelVerify, 0x20 > > cancelVerify::pFreeList;
|
||||
|
||||
inline void * cancelVerify::operator new ( size_t size )
|
||||
@@ -273,9 +291,18 @@ inline void expireDestroVerify::start ( const epicsTime & expireTime )
|
||||
this->timer.start ( *this, expireTime );
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < class expireDestroVerify, 0x20 >;
|
||||
template class epicsSingleton < tsFreeList < class expireDestroVerify, 0x20 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class expireDestroVerify, 0x20 > > expireDestroVerify::pFreeList;
|
||||
|
||||
inline void * expireDestroVerify::operator new ( size_t size )
|
||||
@@ -353,9 +380,18 @@ inline void periodicVerify::start ( const epicsTime &expireTime )
|
||||
this->timer.start ( *this, expireTime );
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < class periodicVerify, 0x20 >;
|
||||
template class epicsSingleton < tsFreeList < class periodicVerify, 0x20 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < class periodicVerify, 0x20 > > periodicVerify::pFreeList;
|
||||
|
||||
inline void * periodicVerify::operator new ( size_t size )
|
||||
|
||||
@@ -33,6 +33,11 @@
|
||||
#include "epicsGuard.h"
|
||||
#include "timerPrivate.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < epicsTimerForC, 0x20 >;
|
||||
template class tsFreeList < epicsTimerQueuePassiveForC, 0x10 >;
|
||||
template class tsFreeList < epicsTimerQueueActiveForC, 0x10 >;
|
||||
@@ -40,6 +45,10 @@ template class epicsSingleton < tsFreeList < epicsTimerForC, 0x20 > >;
|
||||
template class epicsSingleton < tsFreeList < epicsTimerQueuePassiveForC, 0x10 > >;
|
||||
template class epicsSingleton < tsFreeList < epicsTimerQueueActiveForC, 0x10 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < epicsTimerForC, 0x20 > > epicsTimerForC::pFreeList;
|
||||
epicsSingleton < tsFreeList < epicsTimerQueuePassiveForC, 0x10 > > epicsTimerQueuePassiveForC::pFreeList;
|
||||
epicsSingleton < tsFreeList < epicsTimerQueueActiveForC, 0x10 > > epicsTimerQueueActiveForC::pFreeList;
|
||||
|
||||
@@ -35,9 +35,18 @@
|
||||
#include "epicsGuard.h"
|
||||
#include "timerPrivate.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class tsFreeList < timer, 0x20 >;
|
||||
template class epicsSingleton < tsFreeList < timer, 0x20 > >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < tsFreeList < timer, 0x20 > > timer::pFreeList;
|
||||
|
||||
timer::timer ( timerQueue &queueIn ) :
|
||||
|
||||
@@ -31,8 +31,17 @@
|
||||
#define epicsExportSharedSymbols
|
||||
#include "timerPrivate.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( push )
|
||||
# pragma warning ( disable:4660 )
|
||||
#endif
|
||||
|
||||
template class epicsSingleton < timerQueueActiveMgr >;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning ( pop )
|
||||
#endif
|
||||
|
||||
epicsSingleton < timerQueueActiveMgr > pTimerQueueMgrEPICS;
|
||||
|
||||
epicsTimerQueueActive::~epicsTimerQueueActive () {}
|
||||
|
||||
Reference in New Issue
Block a user