diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-06-19 13:21:44 +0200 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-06-21 12:23:46 +0200 |
commit | 96dc9e27b3853e4f775174e66d19dd6162277807 (patch) | |
tree | daafea977c8f2340f94770a4a3d63c727762872d /fuzz | |
parent | 7c3265f740245c5a33227b121ea158bc1fb21a23 (diff) | |
download | gnutls-96dc9e27b3853e4f775174e66d19dd6162277807.tar.gz |
Fix test code for -Werror
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/fuzzer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fuzz/fuzzer.h b/fuzz/fuzzer.h index 92e9060b28..92ae91e49c 100644 --- a/fuzz/fuzzer.h +++ b/fuzz/fuzzer.h @@ -19,6 +19,10 @@ #include <stdint.h> // uint8_t #include <gnutls/gnutls.h> +#if defined __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) + #pragma GCC diagnostic ignored "-Wvla-larger-than=" +#endif + #ifdef __cplusplus extern "C" #endif |