Wno-error=deprecated-declarations not supported for gcc-4.1 or earlier
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef NS3_DEPRECATED_H
|
||||
#define NS3_DEPRECATED_H
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ > 1)
|
||||
#define NS_DEPRECATED __attribute__ ((deprecated))
|
||||
#else
|
||||
#define NS_DEPRECATED
|
||||
|
||||
Reference in New Issue
Block a user