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