diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-27 17:30:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-27 17:30:23 +0200 |
commit | 0901c29d522f03c29c60fcda537918c2bf9eda63 (patch) | |
tree | b5c944c49423105c36633bacf23e746a8ade32c6 /external/liblangtag | |
parent | this should always be empty now (diff) | |
download | core-0901c29d522f03c29c60fcda537918c2bf9eda63.tar.gz core-0901c29d522f03c29c60fcda537918c2bf9eda63.zip |
Adapt external/liblangtag/clang-cl.patch.0 to liblangtag 0.6.1
Change-Id: Idf75ffa042c4858ef9bea99d603adb691b295139
Diffstat (limited to 'external/liblangtag')
-rwxr-xr-x | external/liblangtag/clang-cl.patch.0 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/external/liblangtag/clang-cl.patch.0 b/external/liblangtag/clang-cl.patch.0 index cbc22a265ce5..94348b65fb3a 100755 --- a/external/liblangtag/clang-cl.patch.0 +++ b/external/liblangtag/clang-cl.patch.0 @@ -18,3 +18,24 @@ # define LT_GNUC_NULL_TERMINATED \ __attribute__((__sentinel__)) #else /* !__GNUC__ */ +@@ -220,17 +220,17 @@ + * + * See the GNU C documentation for more details. + */ +-#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) ++#if defined __GNUC__ && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) + #define LT_GNUC_DEPRECATED __attribute__((__deprecated__)) + #else + #define LT_GNUC_DEPRECATED + #endif +-#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) ++#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)) + #define LT_GNUC_DEPRECATED_FOR(f) __attribute__((deprecated("Use " #f " instead"))) + #else + #define LT_GNUC_DEPRECATED_FOR(f) LT_GNUC_DEPRECATED + #endif +-#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) ++#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) + #define LT_GNUC_BEGIN_IGNORE_DEPRECATIONS \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wdeprecated-declarations\"") |