epics-modules / motor

APS BCDA synApps module: motor
https://epics-modules.github.io/motor/
20 stars 48 forks source link

motordrvCom.h needs shareLib.h #176

Closed tboegi closed 3 years ago

tboegi commented 3 years ago

We can't compile motor against this commit of EPICS base: commit 0f428ea3346d89719b03a6419319c85afb0fee13 Author: Michael Davidsaver mdavidsaver@gmail.com Date: Thu Apr 1 10:57:19 2021 -0700

  use DBCORE_API

Solution: Include

anjohnson commented 3 years ago

Note for synApps maintainers: Any header file that contains an epicsShare... keyword should also contain a #include <shareLib.h> line as @tboegi is requesting here, you can't rely on the EPICS Base headers to include that for you any more. In Base we've switched to creating per-library macros for doing name decorations, run makeAPIheader.pl -h from EPICS 7.0.4 or later for more information about that. Recent Asyn releases use the new approach but don't create the asynAPI.h file using that script so they can build with older Base versions.