mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 19:02:58 +00:00
build: don't use deprecation warning on ICC
icc doesn't do the pragma warning push/pop thing to selectively disable the warning. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
7961551a1c
commit
fac5f48064
@ -30,7 +30,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|||||||
#define VTY_MAXHIST 20
|
#define VTY_MAXHIST 20
|
||||||
|
|
||||||
#if defined(VTY_DEPRECATE_INDEX) && defined(__GNUC__) && \
|
#if defined(VTY_DEPRECATE_INDEX) && defined(__GNUC__) && \
|
||||||
(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
|
(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && \
|
||||||
|
!defined(__ICC)
|
||||||
#define INDEX_WARNING __attribute__((deprecated))
|
#define INDEX_WARNING __attribute__((deprecated))
|
||||||
#else
|
#else
|
||||||
#define INDEX_WARNING
|
#define INDEX_WARNING
|
||||||
|
Loading…
Reference in New Issue
Block a user