summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 41e2242..d853b33 100644
--- a/config.h
+++ b/config.h
@@ -233,6 +233,9 @@ NAMESPACE_END
// 4355: 'this' : used in base member initializer list
// 4910: '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
# pragma warning(disable: 4231 4250 4251 4275 4660 4661 4786 4355 4910)
+ // Security related, possible defects
+ // http://blogs.msdn.com/b/vcblog/archive/2010/12/14/off-by-default-compiler-warnings-in-visual-c.aspx
+# pragma warning(once: 4191 4242 4263 4264 4265 4266 4302 4826 4905 4906 4928)
#endif
#ifdef __BORLANDC__