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 | 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 |
<== 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 #endifUnfortunately it seems that the Tornado 2.2 compiler (gcc-2.96, Linux version) does not understand __attribute__((deprecated)):
warning: `deprecated' attribute directive ignoredSo 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