epicsExportRegistrar() must be inside extern "C" block

This commit is contained in:
Andrew Johnson committed 2014-04-18 17:53:12 -05:00
1 parent 597bca1ca5
commit 83f2fa9d9a
5 files changed
+19 -5

No files matched your search

@@ -61,4 +61,6 @@ static void registerChannelProviderLocal(void)
}
}
epicsExportRegistrar(registerChannelProviderLocal);
extern "C" {
epicsExportRegistrar(registerChannelProviderLocal);
}