epicsExportRegistrar() must be inside extern "C" block
This commit is contained in:
1 parent
597bca1ca5
commit
83f2fa9d9a
5 files changed
+19
-5
No files matched your search
@@ -58,4 +58,7 @@ static void exampleDatabaseRegister(void)
|
||||
iocshRegister(&exampleDatabaseFuncDef, exampleDatabaseCallFunc);
|
||||
}
|
||||
}
|
||||
epicsExportRegistrar(exampleDatabaseRegister);
|
||||
|
||||
extern "C" {
|
||||
epicsExportRegistrar(exampleDatabaseRegister);
|
||||
}
|
||||
Reference in new issue
Block a user