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: "Johnson, Andrew N. via Core-talk" <[email protected]>
To: Dirk Zimoch <[email protected]>, EPICS Core Talk <[email protected]>
Date: Wed, 3 Apr 2019 17:24:48 +0000
On 4/3/19 3:25 AM, Dirk Zimoch wrote:
> On 02.04.19 19:37, Johnson, Andrew N. wrote:
>> You could do this:
>>> #include <errMdef.h>
>>> #ifndef M_syd
>>> #include <errSymTbl.h>
>>> #endif
>> I believe the M_syd macro has not been used since before I started
>> with EPICS. The comment for it said "Sync Data Routines; see
>> sydDefs.h" but that header has not been present in any 3.13 release
>> so I finally deleted that symbol while restructuring the
>> libcom/src/error files.
> M_syd does not exist in 7.0.1. Also M_* macros seem to come and go.
> For example M_ts disappears. So this type of branching would be not
> only obfuscating the real reason for the branch but would also be
> unstable against future changes.
M_ts, M_syd and errSymbolAdd() were all removed from errMdef.h in the
same commit, 0fdb995a0bda9a7d9591b6c2b1bde5b2aab43421 (which occurred on
the 7.0 branch before the 7.0.1 release), so if either macro doesn't
exist you /will/ need to include the new header file errSymTbl.h for the
routine to be declared. My suggestion above was based on my knowledge of
the code's history.

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon


References:
EPICS 7 incompatibility in errMdef.h Dirk Zimoch via Core-talk
Re: EPICS 7 incompatibility in errMdef.h Johnson, Andrew N. via Core-talk
Re: EPICS 7 incompatibility in errMdef.h Dirk Zimoch via Core-talk

Navigate by Date:
Prev: RE: Excessive scan times for periodic scans Mark Rivers via Core-talk
Next: Re: Excessive scan times for periodic scans Ralph Lange 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 Dirk Zimoch via Core-talk
Next: Re: [Merge] ~anj/epics-base/+git/base-7.0:loadable-err-syms into epics-base:7.0 Andrew Johnson 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 ·