[3RDPARTY] Make some warnings non-fatal
[reactos.git] / dll / win32 / mshtml / CMakeLists.txt
index e89b34b..08e23da 100644 (file)
@@ -10,6 +10,11 @@ include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 add_idl_headers(mshtml_nsiface_header nsiface.idl)
 spec2def(mshtml.dll mshtml.spec ADD_IMPORTLIB)
 
+if(MSVC)
+    # error C4028: formal parameter 3 different from declaration
+    replace_compile_flags("/we4028" " ")
+endif()
+
 list(APPEND SOURCE
     conpoint.c
     dispex.c