mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Disable some gcc warnings
This commit is contained in:
@@ -37,6 +37,13 @@
|
||||
#pragma warning (disable: 4244) // conversion, possible loss of data
|
||||
#endif
|
||||
|
||||
#if BEAST_GCC
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wreorder"
|
||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
|
||||
#include "hyperleveldb/db/builder.cc"
|
||||
#include "hyperleveldb/db/db_impl.cc"
|
||||
#include "hyperleveldb/db/db_iter.cc"
|
||||
@@ -94,4 +101,8 @@
|
||||
#pragma warning (pop)
|
||||
#endif
|
||||
|
||||
#if BEAST_GCC
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user