forked from epics_driver_modules/motorBase
Avoid warnings with R3.16.1 in devSoft.cc and devMotorSim.c
Need to set USE_TYPED_RSET to avoid a warning whencompiling against Base R3.16.1 Older Bases don't know the #define, and R3.16.1 seems to need it.
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* The following is needed to compile against Base R3.16.1 without a warning */
|
||||
#define USE_TYPED_RSET
|
||||
|
||||
#include "epicsFindSymbol.h"
|
||||
#include "dbAccess.h"
|
||||
#include "recGbl.h"
|
||||
|
||||
@@ -46,6 +46,8 @@ NOTES...
|
||||
- Can't call CA functions until after dbLockInitRecords() has been called and initialized lock sets.
|
||||
*/
|
||||
|
||||
/* The following is needed to compile against Base R3.16.1 without a warning */
|
||||
#define USE_TYPED_RSET
|
||||
|
||||
#include <dbDefs.h>
|
||||
#include <dbFldTypes.h>
|
||||
|
||||
Reference in New Issue
Block a user