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 | 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 |
<== 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 */ #endifAlso 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 #endifHowever, 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