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
<2008>
2009
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
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|