aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib
diff options
context:
space:
mode:
Diffstat (limited to 'lexlib')
-rw-r--r--lexlib/LexerModule.h2
-rw-r--r--lexlib/PropSetSimple.cxx5
2 files changed, 1 insertions, 6 deletions
diff --git a/lexlib/LexerModule.h b/lexlib/LexerModule.h
index e502541b2..35fa30c69 100644
--- a/lexlib/LexerModule.h
+++ b/lexlib/LexerModule.h
@@ -72,7 +72,7 @@ inline int Maximum(int a, int b) {
// Shut up annoying Visual C++ warnings:
#ifdef _MSC_VER
-#pragma warning(disable: 4244 4309 4514 4710)
+#pragma warning(disable: 4244 4309)
#endif
#ifdef SCI_NAMESPACE
diff --git a/lexlib/PropSetSimple.cxx b/lexlib/PropSetSimple.cxx
index 6f4553a07..6592d70eb 100644
--- a/lexlib/PropSetSimple.cxx
+++ b/lexlib/PropSetSimple.cxx
@@ -11,11 +11,6 @@
#include <string.h>
#include <stdio.h>
-#ifdef _MSC_VER
-// Visual C++ doesn't like unreachable code in its own headers.
-#pragma warning(disable: 4018 4100 4245 4511 4512 4663 4702)
-#endif
-
#include <string>
#include <map>