epicsExportRegistrar() must be inside extern "C" block
This commit is contained in:
@@ -66,4 +66,7 @@ static void exampleServerRegister(void)
|
||||
iocshRegister(&exampleServerFuncDef, exampleServerCallFunc);
|
||||
}
|
||||
}
|
||||
epicsExportRegistrar(exampleServerRegister);
|
||||
|
||||
extern "C" {
|
||||
epicsExportRegistrar(exampleServerRegister);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user