libstdc++: Fix condition for definition of _GLIBCXX14_DEPRECATED
The check for C++14 was using the wrong date. libstdc++-v3/ChangeLog: * include/bits/c++config (_GLIBCXX14_DEPRECATED): Fix condition checking for C++14.
This commit is contained in:
parent
f58bf16f67
commit
d7376862b6
|
@ -107,7 +107,7 @@
|
|||
# define _GLIBCXX11_DEPRECATED_SUGGEST(ALT)
|
||||
#endif
|
||||
|
||||
#if defined(__DEPRECATED) && (__cplusplus >= 201403L)
|
||||
#if defined(__DEPRECATED) && (__cplusplus >= 201402L)
|
||||
# define _GLIBCXX14_DEPRECATED _GLIBCXX_DEPRECATED
|
||||
# define _GLIBCXX14_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
|
||||
#else
|
||||
|
@ -123,7 +123,7 @@
|
|||
# define _GLIBCXX17_DEPRECATED_SUGGEST(ALT)
|
||||
#endif
|
||||
|
||||
#if defined(__DEPRECATED) && (__cplusplus > 201703L)
|
||||
#if defined(__DEPRECATED) && (__cplusplus >= 202002L)
|
||||
# define _GLIBCXX20_DEPRECATED(MSG) [[deprecated(MSG)]]
|
||||
# define _GLIBCXX20_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue