1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | EPICS 7 incompatibility in errMdef.h |
From: | Dirk Zimoch via Tech-talk <[email protected]> |
To: | EPICS <[email protected]> |
Date: | Tue, 2 Apr 2019 12:18:59 +0200 |
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