diff options
author | Vladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com> | 2018-12-18 02:50:31 +0700 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-12-17 11:50:31 -0800 |
commit | 9ad73bf5a7ebc5d52e4c553707e5d3bdc5207965 (patch) | |
tree | 729385e14715cdc7d5c1ba3cbee699160e931671 /include | |
parent | dba962ebb836739e002049a6d484f54a176e9afe (diff) | |
download | flatbuffers-9ad73bf5a7ebc5d52e4c553707e5d3bdc5207965.tar.gz flatbuffers-9ad73bf5a7ebc5d52e4c553707e5d3bdc5207965.tar.bz2 flatbuffers-9ad73bf5a7ebc5d52e4c553707e5d3bdc5207965.zip |
Fix 'no_sanitize_undefined' attribute for GCC4.8 (#5090)
Diffstat (limited to 'include')
-rw-r--r-- | include/flatbuffers/base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/flatbuffers/base.h b/include/flatbuffers/base.h index 3166602b..a0c78fc2 100644 --- a/include/flatbuffers/base.h +++ b/include/flatbuffers/base.h @@ -212,7 +212,7 @@ // - __supress_ubsan__("signed-integer-overflow") #if defined(__clang__) #define __supress_ubsan__(type) __attribute__((no_sanitize(type))) -#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 408) +#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 409) #define __supress_ubsan__(type) __attribute__((no_sanitize_undefined)) #else #define __supress_ubsan__(type) |