diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-11-14 15:30:43 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-11-14 15:30:43 +0200 |
commit | 176dd1fbe5e482b5a1156558bb1b19a5f87181cc (patch) | |
tree | 0b5ca2e19069be5e603ae188644e803ee50f4aa6 /contrib/epee | |
parent | Merge pull request #2742 (diff) | |
parent | epee: disable a spurious warning for a storage function (diff) | |
download | monero-176dd1fbe5e482b5a1156558bb1b19a5f87181cc.tar.xz |
Merge pull request #2743
9ff8e139 epee: disable a spurious warning for a storage function (moneromooo-monero)
Diffstat (limited to 'contrib/epee')
-rw-r--r-- | contrib/epee/include/storages/portable_storage_to_bin.h | 1 |
1 files changed, 1 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 5695143b0..34ec02b7e 100644 --- a/contrib/epee/include/storages/portable_storage_to_bin.h +++ b/contrib/epee/include/storages/portable_storage_to_bin.h @@ -47,6 +47,7 @@ namespace epee PRAGMA_WARNING_PUSH PRAGMA_GCC("GCC diagnostic ignored \"-Wstrict-aliasing\"") + PRAGMA_GCC("GCC diagnostic ignored \"-Wtautological-constant-out-of-range-compare\"") template<class t_stream> size_t pack_varint(t_stream& strm, size_t val) { //the first two bits always reserved for size information |