EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS 7 incompatibility in errMdef.h
From: Dirk Zimoch via Core-talk <[email protected]>
To: Michael Davidsaver <[email protected]>, <[email protected]>
Date: Wed, 3 Apr 2019 10:17:43 +0200
On 02.04.19 18:15, Michael Davidsaver wrote:
Could you add something concerning the application which is call errSymbolAdd()?
It it published anywhere?

The code in question is the ik320 driver by Till Straumann from 1999.

It can be found here:
https://github.com/epics-modules/vme/blob/master/vmeApp/src/drvIK320ErrStat.c

I had modified the driver not to depend on vxWorks any more (as we have Linux VME systems) and to use EPICS osi functions. All worked well until newer gcc versions complained about missing function prototypes and warned that in future this will be an error. When I wanted to add the header file for errSymbolAdd() I found that the required file name has changed in EPICS 7.

This kind of change makes the code a bit ugly because I had to add:
#include <epicsVersion.h>
#if EPICS_VERSION >= 7
#include <errSymTbl.h>
#else
#include <errMdef.h>
#endif

With most other drivers I have converted from 3.13/vxWorks to 3.14+/osi, I only had to add includes which used to be included indirectly by other headers but are not any more in newer EPICS versions. This was usually no problem, because the header files used already existed in earlier EPICS versions and thus the driver still compiled with earlier versions.

However now I have the situation where I need a header file in EPICS 7 which did not exist in EPICS 3.
References:
EPICS 7 incompatibility in errMdef.h Dirk Zimoch via Core-talk
Re: EPICS 7 incompatibility in errMdef.h Dirk Zimoch via Core-talk
Re: EPICS 7 incompatibility in errMdef.h Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Re: [Merge] ~bhill/epics-base:pvAccess-envDefs.h into epics-base:7.0 Bruce Hill via Core-talk
Next: Re: EPICS 7 incompatibility in errMdef.h Dirk Zimoch via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS 7 incompatibility in errMdef.h Michael Davidsaver via Core-talk
Next: Re: EPICS 7 incompatibility in errMdef.h Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 03 Apr 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·