diff --git a/src/cas/build/Makefile b/src/cas/build/Makefile index 7354f2f99..9974a16dd 100644 --- a/src/cas/build/Makefile +++ b/src/cas/build/Makefile @@ -73,6 +73,8 @@ LIBSRCS += casDGIntfIO.cc LIBSRCS += casStreamIO.cc LIBSRCS += ipIgnoreEntry.cc +LIBSRCS_vxWorks += templateInstances.cpp + LIBRARY = cas cas_LIBS = ca gdd Com cas_SYS_LIBS_WIN32 = ws2_32 diff --git a/src/cas/generic/templateInstances.cpp b/src/cas/generic/templateInstances.cpp new file mode 100644 index 000000000..e1df222dc --- /dev/null +++ b/src/cas/generic/templateInstances.cpp @@ -0,0 +1,29 @@ +/*************************************************************************\ +* Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne +* National Laboratory. +* Copyright (c) 2002 The Regents of the University of California, as +* Operator of Los Alamos National Laboratory. +* EPICS BASE is distributed subject to a Software License Agreement found +* in file LICENSE that is included with this distribution. +\*************************************************************************/ + +#define epicsExportSharedSymbols +#include "ipIgnoreEntry.h" +#include "casChannelI.h" + +#ifdef _MSC_VER +# pragma warning ( push ) +# pragma warning ( disable:4660 ) +#endif + +template class resTable < ipIgnoreEntry, ipIgnoreEntry >; +template class resTable < casChannelI, chronIntId >; +template class resTable < casEventMaskEntry, stringId >; +template class chronIntIdResTable < casChannelI >; +template class tsFreeList < casMonEvent, 1024, epicsMutexNOOP >; +template class tsFreeList < casMonitor, 1024, epicsMutex >; + + +#ifdef _MSC_VER +# pragma warning ( pop ) +#endif