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 | 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: | 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: | Tue, 2 Apr 2019 17:37:11 +0000 |
Hi Dirk, On 4/2/19 9:24 AM, Dirk Zimoch via Core-talk wrote:
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.Not sure what you mean by "compiler branches" there. You could do this: #include <errMdef.h>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. Alternatively you could do a version number check (see the other epicsVersion.h thread for details) but the above suggestion is simpler and faster. - 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 |