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: Michael Davidsaver via Core-talk <[email protected]>
To: Dirk Zimoch <[email protected]>, [email protected]
Date: Tue, 2 Apr 2019 09:15:06 -0700
On 4/2/19 9:00 AM, Dirk Zimoch via Core-talk wrote:
> 
> 
> On 02.04.19 16:24, Dirk Zimoch via Core-talk wrote:
>> [I had originally sent this to tech-talk instead of core-talk by accident. Sorry for the spam.]
>>
>> Hi folks,
>>
>> Today while compiling a driver for EPICS 7 I found an incompatibility.
>>
>> The function definition errSymbolAdd() (and others) have disappeared from errMdef.h. Thus when compiling a driver including errMdef.h and using errSymbolAdd(), I get a compiler warning because of the missing function prototype.
>>
>> The prototypes are now in the new header file errSymTbl.h. But simply including the new file instead is no good solution, because then the driver does not compile with older EPICS versions any more.
>>
>> Instead I have use compiler branches based on EPICS versions. That is a bit inconvenient.
>>
>> What is the policy about backward compatibility in EPICS 7? Should we expect more compatibility breaking changes in the future in an attempt to "move forwards" or will EPICS 7 aim to stay backward compatible for 3rd party code like drivers?
>>
>> Dirk
> 
> The question is actually: Should I consider this a bug in EPICS 7 (and propose a fix)? Or was there a good reason for it and should I better put a preprocessor branch in the driver? (With the changes e.g. in rset and maybe in the future in dset as well such a branch may probably sooner or later be necessary anyway.)

Thank you for clarifying ;)

In fact there has been a discussion ongoing about this very topic:

https://code.launchpad.net/~anj/epics-base/+git/base-7.0/+merge/361344

Could you add something concerning the application which is call errSymbolAdd()?
It it published anywhere?

Replies:
Re: EPICS 7 incompatibility in errMdef.h Dirk Zimoch via Core-talk
References:
EPICS 7 incompatibility in errMdef.h Dirk Zimoch via Core-talk
Re: EPICS 7 incompatibility in errMdef.h Dirk Zimoch via Core-talk

Navigate by Date:
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 
Navigate by Thread:
Prev: Re: EPICS 7 incompatibility in errMdef.h Dirk Zimoch 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 
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 ·