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  <20112012  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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: EPICS_DEPRECATED and gcc-2.96
From: Dirk Zimoch <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 20 Jun 2011 17:29:05 +0200
Hi all,

In base 3.14.12, the macro EPICS_DEPRECATED is defined in compilerDependencies.h as follows:

/*
 * Deprecation marker
 */
#ifdef __GNUC__
# define EPICS_DEPRECATED __attribute__((deprecated))
#else
# define EPICS_DEPRECATED
#endif


Unfortunately it seems that the Tornado 2.2 compiler (gcc-2.96, Linux version) does not understand __attribute__((deprecated)):

warning: `deprecated' attribute directive ignored

So it seems that #ifdef __GNUC__ is not enough and the GCC version needs to be tested. However I don't know from which version on GCC understands deprecated. Maybe starting with version 3 ?

Dirk

Replies:
Re: EPICS_DEPRECATED and gcc-2.96 Andrew Johnson

Navigate by Date:
Prev: RE: a puzzle about using stream device driver Davidsaver, Michael
Next: Re: a puzzle about using stream device driver Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: a puzzle about using stream device driver Dirk Zimoch
Next: Re: EPICS_DEPRECATED and gcc-2.96 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  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 ·