mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #2811
f80f408b
epee: don't disable -Wtautological-constant-out-of-range-compare on GCC (moneromooo-monero)
This commit is contained in:
commit
2c12847dd6
1 changed files with 2 additions and 0 deletions
|
@ -47,7 +47,9 @@ namespace epee
|
||||||
|
|
||||||
PRAGMA_WARNING_PUSH
|
PRAGMA_WARNING_PUSH
|
||||||
PRAGMA_GCC("GCC diagnostic ignored \"-Wstrict-aliasing\"")
|
PRAGMA_GCC("GCC diagnostic ignored \"-Wstrict-aliasing\"")
|
||||||
|
#ifdef __clang__
|
||||||
PRAGMA_GCC("GCC diagnostic ignored \"-Wtautological-constant-out-of-range-compare\"")
|
PRAGMA_GCC("GCC diagnostic ignored \"-Wtautological-constant-out-of-range-compare\"")
|
||||||
|
#endif
|
||||||
template<class t_stream>
|
template<class t_stream>
|
||||||
size_t pack_varint(t_stream& strm, size_t val)
|
size_t pack_varint(t_stream& strm, size_t val)
|
||||||
{ //the first two bits always reserved for size information
|
{ //the first two bits always reserved for size information
|
||||||
|
|
Loading…
Reference in a new issue