diff options
| author | Riccardo Spagni <ric@spagni.net> | 2017-11-14 21:33:20 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2017-11-14 21:33:20 +0200 |
| commit | 2c12847dd6d197ad30c7c0f4890710281d6bf5ee (patch) | |
| tree | 45271aa64f6bebcb7d7c77e769706153a87000b8 | |
| parent | 10a237783a1156664f2788f33385df3a954a2db5 (diff) | |
| parent | f80f408b7e19e9020df4b935855c80f165fad74e (diff) | |
| download | monzero-core-2c12847dd6d197ad30c7c0f4890710281d6bf5ee.tar.gz monzero-core-2c12847dd6d197ad30c7c0f4890710281d6bf5ee.tar.xz monzero-core-2c12847dd6d197ad30c7c0f4890710281d6bf5ee.zip | |
Merge pull request #2811
f80f408b epee: don't disable -Wtautological-constant-out-of-range-compare on GCC (moneromooo-monero)
| -rw-r--r-- | contrib/epee/include/storages/portable_storage_to_bin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/epee/include/storages/portable_storage_to_bin.h b/contrib/epee/include/storages/portable_storage_to_bin.h index 34ec02b7e..38e9f9098 100644 --- a/contrib/epee/include/storages/portable_storage_to_bin.h +++ b/contrib/epee/include/storages/portable_storage_to_bin.h @@ -47,7 +47,9 @@ namespace epee PRAGMA_WARNING_PUSH PRAGMA_GCC("GCC diagnostic ignored \"-Wstrict-aliasing\"") +#ifdef __clang__ PRAGMA_GCC("GCC diagnostic ignored \"-Wtautological-constant-out-of-range-compare\"") +#endif template<class t_stream> size_t pack_varint(t_stream& strm, size_t val) { //the first two bits always reserved for size information |
