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

Subject: Re: ASYN R4.10 Release - code depreciation
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Fri, 26 Sep 2008 12:24:52 -0500
On Friday 26 September 2008 04:22:32 Dirk Zimoch wrote:
>
> The gnu compiler has an extension called attributes. One can mark a
> function, variable, or type with __attribute__((deprecated)). (For other
> compilers, define an empty macro __attribute__(x) for compatibility.) This
> produces a compiler warning when the function or variable is used.

For R3.14.10 I've just added EPICS_DEPRECATED to compilerDependencies.h which 
is where we normally put this kind of macro.  On GNU compilers it expands to 
__attribute__((deprecated)), on other compilers it is empty.

- Andrew
-- 
Talk is cheap. Show me the code. -- Linus Torvalds

References:
RE: ASYN R4.10 Release - code depreciation Pearson, MR (Matthew)
Re: ASYN R4.10 Release - code depreciation Dirk Zimoch

Navigate by Date:
Prev: Re: EDM font sizes Kevin Anderson
Next: Re: SIemens PLCs Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ASYN R4.10 Release - code depreciation Dirk Zimoch
Next: Modbus Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·