diff --git a/src/db/dbChannelIO.cpp b/src/db/dbChannelIO.cpp index cc722c317..d49c1a6f4 100644 --- a/src/db/dbChannelIO.cpp +++ b/src/db/dbChannelIO.cpp @@ -29,6 +29,8 @@ #include "dbChannelIOIL.h" #include "dbNotifyBlockerIL.h" +template class tsFreeList < dbChannelIO >; + tsFreeList < dbChannelIO > dbChannelIO::freeList; epicsMutex dbChannelIO::freeListMutex; unsigned dbChannelIO::nextIdForIO; diff --git a/src/db/dbPutNotifyBlocker.cpp b/src/db/dbPutNotifyBlocker.cpp index bbc2de958..7458ccc4a 100644 --- a/src/db/dbPutNotifyBlocker.cpp +++ b/src/db/dbPutNotifyBlocker.cpp @@ -10,10 +10,10 @@ * Copyright, 1986, The Regents of the University of California. * * - * Author: + * Author: * Jeffrey O. Hill - * johill@lanl.gov - * 505 665 1831 + * johill@lanl.gov + * 505 665 1831 */ #include @@ -37,7 +37,9 @@ #define S_db_Blocked (M_dbAccess|39) #define S_db_Pending (M_dbAccess|37) -tsFreeList < dbPutNotifyBlocker > dbPutNotifyBlocker::freeList; +template class tsFreeList < dbPutNotifyBlocker, 1024, 0 >; + +tsFreeList < dbPutNotifyBlocker, 1024, 0 > dbPutNotifyBlocker::freeList; epicsMutex dbPutNotifyBlocker::freeListMutex; dbPutNotifyBlocker::dbPutNotifyBlocker ( dbChannelIO &chanIn ) : diff --git a/src/db/dbServiceIO.cpp b/src/db/dbServiceIO.cpp index 90c675368..3ef4ce678 100644 --- a/src/db/dbServiceIO.cpp +++ b/src/db/dbServiceIO.cpp @@ -33,6 +33,10 @@ #include "dbChannelIOIL.h" #include "dbNotifyBlockerIL.h" +template class chronIntIdResTable < dbBaseIO >; +template class tsSLNode < dbBaseIO >; +template class resTable < dbBaseIO, chronIntId >; + class dbServiceIOLoadTimeInit { public: dbServiceIOLoadTimeInit (); @@ -95,7 +99,8 @@ void dbServiceIO::callReadNotify ( struct dbAddr &addr, return; } - if ( count > INT_MAX || count > addr.no_elements ) { + if ( count > static_cast(INT_MAX) || + count > static_cast(addr.no_elements) ) { notify.exception ( ECA_BADCOUNT, "element count out of range (high side)", type, count); diff --git a/src/db/dbSubscriptionIO.cpp b/src/db/dbSubscriptionIO.cpp index a002b85e4..fd39b0a1d 100644 --- a/src/db/dbSubscriptionIO.cpp +++ b/src/db/dbSubscriptionIO.cpp @@ -30,6 +30,7 @@ #include "dbChannelIOIL.h" #include "db_access_routines.h" +template class tsFreeList < dbSubscriptionIO >; tsFreeList < dbSubscriptionIO > dbSubscriptionIO::freeList; epicsMutex dbSubscriptionIO::freeListMutex;