EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Bug in devLibVMEImpl.h in 3.14.12 and 3.15
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Wed, 19 Sep 2012 09:57:29 -0400
Yup, this was an oversight on my part.  As a workaround:

#if EPICS_VERSION==3 && EPICS_REVISION==14 && EPICS_MODIFICATION<12
typedef devLibVirtualOS osTableType; /* old name */
#else
typedef devLibVME osTableType; /* new name */
#endif

Also note that a function pointer for devInterruptInUseVME() was added to the table definition as well.

Michael


On 9/18/2012 3:35 AM, Dirk Zimoch wrote:
The devLibVMEImpl.h defines a backward compatibility macro:

#ifndef NO_DEVLIB_COMPAT
#  define pdevLibVirtualOS pdevLibVME
#endif

However, this is only the name of the global variable which has changed. The type of that variable has changed too. In order to provide real backward compatibility, the following additional macro is needed.

#  define devLibVirtualOS devLibVME

(or use a typedef)

Dirk



References:
Bug in devLibVMEImpl.h in 3.14.12 and 3.15 Dirk Zimoch

Navigate by Date:
Prev: Re: ISEG EHS device support on the Raspberry Pi Computer Florian Feldbauer
Next: Doxygen and EPICS build system Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Bug in devLibVMEImpl.h in 3.14.12 and 3.15 Dirk Zimoch
Next: Doxygen and EPICS build system Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·