aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-15 00:55:14 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-15 02:01:44 +0300
commit571b226d2dffe2bc9604953df33fcbf8d3b7c21d (patch)
tree6aeb46beaf16aae499317fab2dca37563d6fecd0 /include
parentmingw builds: define _WIN32_WINNT (diff)
downloadwinapi-debug-571b226d2dffe2bc9604953df33fcbf8d3b7c21d.tar.gz
winapi-debug-571b226d2dffe2bc9604953df33fcbf8d3b7c21d.zip
mingw builds: get rid of #pragma warning
Diffstat (limited to 'include')
-rw-r--r--include/pdb/module.hpp4
-rw-r--r--include/pdb/symbol.hpp4
-rw-r--r--include/pdb/utils/file.hpp2
3 files changed, 2 insertions, 8 deletions
diff --git a/include/pdb/module.hpp b/include/pdb/module.hpp
index 47eeef3..db6722e 100644
--- a/include/pdb/module.hpp
+++ b/include/pdb/module.hpp
@@ -7,10 +7,8 @@
#include "address.hpp"
-#include <Windows.h>
-#pragma warning(push, 0)
#include <DbgHelp.h>
-#pragma warning(pop)
+#include <Windows.h>
#include <string>
diff --git a/include/pdb/symbol.hpp b/include/pdb/symbol.hpp
index e7ca523..b9dff85 100644
--- a/include/pdb/symbol.hpp
+++ b/include/pdb/symbol.hpp
@@ -10,10 +10,8 @@
#include <SafeInt.hpp>
-#include <Windows.h>
-#pragma warning(push, 0)
#include <DbgHelp.h>
-#pragma warning(pop)
+#include <Windows.h>
#include <cstddef>
#include <cstring>
diff --git a/include/pdb/utils/file.hpp b/include/pdb/utils/file.hpp
index acb5cfc..8054847 100644
--- a/include/pdb/utils/file.hpp
+++ b/include/pdb/utils/file.hpp
@@ -5,9 +5,7 @@
#pragma once
-#pragma warning(push, 0)
#include <boost/functional/hash.hpp>
-#pragma warning(pop)
#include <Windows.h>