g+
g+ Communities
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  <20102011  2012  2013  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013 
<== Date ==> <== Thread ==>

Subject: dbGetSevr on epics 3.14.11
From: "Allison, Stephanie" <saa@slac.stanford.edu>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 25 Aug 2010 18:41:00 -0700
Hello,

I'm upgrading from 3.14.8.2 to 3.14.11 and found a problem with dbGetSevr.  dbGetSevr used to be a prototype in 3.14.8.2 and is now a macro in dbAccessDefs.h:

#define dbGetSevr(PLINK,PSEVERITY) \
    dbGetAlarm((PLINK),NULL,(PSEVERITY));

That ";" at the end causes problems (ie:   if (dbGetSevr(plink, &severity)) break;)
and should be removed.  

Thank you,
Stephanie Allison




Replies:
Re: dbGetSevr on epics 3.14.11 Ralph Lange

Navigate by Date:
Prev: RE: atomic operations in base Jeff Hill
Next: RE: atomic operations in base Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013 
Navigate by Thread:
Prev: Re: atomic operations Ralph Lange
Next: Re: dbGetSevr on epics 3.14.11 Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·