Do not use 'deprecated' attribute on gcc < 3.1.
It causes lots of spurious warnings in build logs. suggestion to make the test gcc >= 3.1 millert@, ok todd@, miod@
This commit is contained in:
parent
93a6b2b0b1
commit
00a307f8e4
@ -251,7 +251,7 @@ extern RESTYPE TypeMask;
|
|||||||
* Please use the noted replacements instead.
|
* Please use the noted replacements instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
|
||||||
#define X_DEPRECATED __attribute__((deprecated))
|
#define X_DEPRECATED __attribute__((deprecated))
|
||||||
#else
|
#else
|
||||||
#define X_DEPRECATED
|
#define X_DEPRECATED
|
||||||
|
Loading…
Reference in New Issue
Block a user