diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03a9c45..d6bf743 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,7 +24,7 @@ macro(add_clang_library name)
     # Add standard conformance and disable an annoying warning:
     #   nonstandard extension used : formal parameter '***' was previously
     #   defined as a type
-    set(cflag "${cflag} /Za /wd4224")
+    set(cflag "${cflag} /Za /wd4224 /wd4291 /wd4805")
     set_target_properties(${name} PROPERTIES COMPILE_FLAGS ${cflag})
   endif(MSVC)
   install(TARGETS ${name}
@@ -47,7 +47,7 @@ macro(add_clang_executable name)
     # Add standard conformance and disable an annoying warning:
     #   nonstandard extension used : formal parameter '***' was previously
     #   defined as a type
-    set(cflag "${cflag} /Za /wd4224")
+    set(cflag "${cflag} /Za /wd4224  /wd4291 /wd4805")
     set_target_properties(${name} PROPERTIES COMPILE_FLAGS ${cflag})
   endif(MSVC)
   install(TARGETS ${name}
