template instances used in cas are missing (required for vxWorks)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Medium
|
Andrew Johnson |
Bug Description
When building a channel access server for vxWorks, one gets a lot of missing symbols due to uninstanciated templates. This has to do with the -fno-implicit-
Additional information:
Code for templateInstanc
#define epicsExportShar
#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 >;
template class tsFreeList < ipIgnoreEntry, 128, epicsMutex >;
#ifdef _MSC_VER
# pragma warning ( pop )
#endif
Original Mantis Bug: mantis-308
http://
Created templateInstanc es.cpp file as given by Dirk.
Fixed for R3.14.10.