diff --git a/example/hash-map/hash-map-example.vcxproj b/example/hash-map/hash-map-example.vcxproj
index 7d536d1..9edd09e 100644
--- a/example/hash-map/hash-map-example.vcxproj
+++ b/example/hash-map/hash-map-example.vcxproj
@@ -199,11 +199,13 @@
- Level3
+ EnableAllWarnings
false
WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)\libhashset\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -215,7 +217,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -232,6 +234,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -246,7 +250,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -263,6 +267,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -283,11 +289,13 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)\libhashset\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -298,11 +306,13 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)\libhashset\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -312,7 +322,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -328,6 +338,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -341,7 +353,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -357,6 +369,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -369,7 +383,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -385,6 +399,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -404,7 +420,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -420,6 +436,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
diff --git a/example/hash-set/hash-set-example.vcxproj b/example/hash-set/hash-set-example.vcxproj
index 497a4fb..eae3432 100644
--- a/example/hash-set/hash-set-example.vcxproj
+++ b/example/hash-set/hash-set-example.vcxproj
@@ -199,11 +199,13 @@
- Level3
+ EnableAllWarnings
false
WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)\libhashset\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -215,7 +217,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -232,6 +234,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -246,7 +250,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -263,6 +267,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -283,11 +289,13 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)\libhashset\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -298,11 +306,13 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)\libhashset\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -312,7 +322,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -328,6 +338,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -341,7 +353,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -357,6 +369,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -369,7 +383,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -385,6 +399,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -404,7 +420,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -420,6 +436,8 @@
true
$(SolutionDir)\libhashset\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
diff --git a/libhashset/libhashset.vcxproj b/libhashset/libhashset.vcxproj
index f49a5c4..9bdec49 100644
--- a/libhashset/libhashset.vcxproj
+++ b/libhashset/libhashset.vcxproj
@@ -212,12 +212,14 @@
- Level3
+ EnableAllWarnings
false
WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)
true
NotUsing
$(ProjectDir)\include
+ true
+ 4464;4710;4711;4820;5045
@@ -227,7 +229,7 @@
- Level3
+ EnableAllWarnings
true
true
false
@@ -245,6 +247,8 @@
StreamingSIMDExtensions
$(ProjectDir)\include
Fast
+ true
+ 4464;4710;4711;4820;5045
@@ -259,7 +263,7 @@
- Level3
+ EnableAllWarnings
true
true
false
@@ -277,6 +281,8 @@
$(ProjectDir)\include
WIN32;NDEBUG;_DLL;HASHSET_DLL;_HASHSET_EXPORTS;%(PreprocessorDefinitions)
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -292,12 +298,14 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_LIB;%(PreprocessorDefinitions)
true
NotUsing
$(ProjectDir)\include
+ true
+ 4464;4710;4711;4820;5045
@@ -307,12 +315,14 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_LIB;%(PreprocessorDefinitions)
true
NotUsing
$(ProjectDir)\include
+ true
+ 4464;4710;4711;4820;5045
@@ -322,7 +332,7 @@
- Level3
+ EnableAllWarnings
true
true
false
@@ -339,6 +349,8 @@
false
$(ProjectDir)\include
Fast
+ true
+ 4464;4710;4711;4820;5045
@@ -353,7 +365,7 @@
- Level3
+ EnableAllWarnings
true
true
false
@@ -370,6 +382,8 @@
false
$(ProjectDir)\include
Fast
+ true
+ 4464;4710;4711;4820;5045
@@ -384,7 +398,7 @@
- Level3
+ EnableAllWarnings
true
true
false
@@ -401,6 +415,8 @@
false
$(ProjectDir)\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -416,7 +432,7 @@
- Level3
+ EnableAllWarnings
true
true
false
@@ -433,6 +449,8 @@
false
$(ProjectDir)\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
diff --git a/libhashset/src/dll_main.c b/libhashset/src/dll_main.c
index b6644c5..1998fdb 100644
--- a/libhashset/src/dll_main.c
+++ b/libhashset/src/dll_main.c
@@ -3,8 +3,10 @@
/* This work has been released under the CC0 1.0 Universal license! */
/******************************************************************************/
-#ifdef __GNUC__
+#if defined(__GNUC__)
# pragma GCC diagnostic ignored "-Wpedantic"
+#elif defined(_MSC_VER)
+# pragma warning(disable: 4100)
#endif
#if defined(_WIN32)
@@ -25,4 +27,4 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
return TRUE;
}
-#endif
+#endif /*_WIN32*/
diff --git a/test/hash-map/test-hash-map.vcxproj b/test/hash-map/test-hash-map.vcxproj
index d947395..d524ef2 100644
--- a/test/hash-map/test-hash-map.vcxproj
+++ b/test/hash-map/test-hash-map.vcxproj
@@ -203,11 +203,13 @@
- Level3
+ EnableAllWarnings
false
WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -219,7 +221,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -236,6 +238,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -252,7 +256,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -269,6 +273,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -291,11 +297,13 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -306,11 +314,13 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -320,7 +330,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -336,6 +346,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -351,7 +363,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -367,6 +379,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -381,7 +395,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -397,6 +411,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -418,7 +434,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -434,6 +450,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
diff --git a/test/hash-set/test-hash-set.vcxproj b/test/hash-set/test-hash-set.vcxproj
index e641a8e..9b762b6 100644
--- a/test/hash-set/test-hash-set.vcxproj
+++ b/test/hash-set/test-hash-set.vcxproj
@@ -203,11 +203,13 @@
- Level3
+ EnableAllWarnings
false
WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -219,7 +221,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -236,6 +238,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -252,7 +256,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -269,6 +273,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -291,11 +297,13 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -306,11 +314,13 @@
- Level3
+ EnableAllWarnings
false
_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -320,7 +330,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -336,6 +346,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -351,7 +363,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -367,6 +379,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -381,7 +395,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -397,6 +411,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console
@@ -418,7 +434,7 @@
- Level4
+ EnableAllWarnings
true
true
false
@@ -434,6 +450,8 @@
true
$(SolutionDir)libhashset\include;$(ProjectDir)..\shared\include
Fast
+ true
+ 4464;4710;4711;4820;5045
Console