Tornado 2 gcc does not know deprecated
This commit is contained in:
16
gcc2dependency.patch
Normal file
16
gcc2dependency.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
Index: src/libCom/misc/compilerDependencies.h
|
||||
===================================================================
|
||||
RCS file: /cvs/G/EPICS/base-3.14.12/src/libCom/misc/compilerDependencies.h,v
|
||||
retrieving revision 1.1.1.1
|
||||
diff -u -r1.1.1.1 compilerDependencies.h
|
||||
--- src/libCom/misc/compilerDependencies.h 29 Nov 2010 10:38:07 -0000 1.1.1.1
|
||||
+++ src/libCom/misc/compilerDependencies.h 21 Jun 2011 07:37:38 -0000
|
||||
@@ -95,7 +95,7 @@
|
||||
/*
|
||||
* Deprecation marker
|
||||
*/
|
||||
-#ifdef __GNUC__
|
||||
+#if defined (__GNUC__) && (__GNUC__ >= 3)
|
||||
# define EPICS_DEPRECATED __attribute__((deprecated))
|
||||
#else
|
||||
# define EPICS_DEPRECATED
|
||||
@@ -95,7 +95,7 @@
|
||||
/*
|
||||
* Deprecation marker
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#if defined (__GNUC__) && (__GNUC__ >= 3)
|
||||
# define EPICS_DEPRECATED __attribute__((deprecated))
|
||||
#else
|
||||
# define EPICS_DEPRECATED
|
||||
|
||||
Reference in New Issue
Block a user