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:
Torsten Bögershausen
2018-10-02 16:11:37 +02:00
parent 5198a2d552
commit dcf7b37c89
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -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"
+2
View File
@@ -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>