enable warning level for for tests (msvc) and cleanup some warnings.

This commit is contained in:
greg
2020-01-01 13:56:35 -05:00
parent e4dc9c59a8
commit 9191e51500
11 changed files with 94 additions and 45 deletions
+11
View File
@@ -11,6 +11,13 @@
// https://www.apache.org/licenses/LICENSE-2.0
// ---------------------------------------------------------------------------
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4514) // unreferenced inline function has been removed
#pragma warning(disable : 4710) // function not inlined
#pragma warning(disable : 4711) // selected for automatic inline expansion
#endif
#include <memory>
#include <utility>
#include <functional>
@@ -140,4 +147,8 @@ namespace phmap {
} // namespace phmap
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#endif // phmap_fwd_decl_h_guard_