From 5c8f516a545e4d03405f81034f19c396fb44b22a Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Thu, 8 May 2014 17:35:29 +0000 Subject: [PATCH] Add epicsShareClass, needed to avoid errors on Windows --- motorApp/MicosSrc/SMChydraDriver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/motorApp/MicosSrc/SMChydraDriver.h b/motorApp/MicosSrc/SMChydraDriver.h index b54ab97c..7496f629 100644 --- a/motorApp/MicosSrc/SMChydraDriver.h +++ b/motorApp/MicosSrc/SMChydraDriver.h @@ -12,7 +12,7 @@ USAGE... Motor driver support for the Micos SMC hydra controller. // No controller-specific parameters yet #define NUM_SMCHYDRA_PARAMS 0 -class SMChydraAxis : public asynMotorAxis +class epicsShareClass SMChydraAxis : public asynMotorAxis { public: /* These are the methods we override from the base class */ @@ -44,7 +44,7 @@ private: friend class SMChydraController; }; -class SMChydraController : public asynMotorController { +class epicsShareClass SMChydraController : public asynMotorController { public: SMChydraController(const char *portName, const char *SMChydraPortName, int numAxes, double movingPollPeriod, double idlePollPeriod);