[MSHTML] MSVC: There is no 'error C4028' anymore
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)
committerMark Jansen <mark.jansen@reactos.org>
Wed, 14 Apr 2021 18:55:57 +0000 (20:55 +0200)
MSVC amd64
'...\dll\win32\mshtml\nsio.c(3755): error C4028: formal parameter 3 different from declaration'
was fixed by 5ed1867.

CORE-7538

dll/win32/mshtml/CMakeLists.txt

index 327e719..0f66f5e 100644 (file)
@@ -100,11 +100,6 @@ add_library(mshtml MODULE
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
 
-if(MSVC)
-    # error C4028: formal parameter 3 different from declaration
-    remove_target_compile_option(mshtml "/we4028")
-endif()
-
 list(APPEND mshtml_rc_deps
     ${CMAKE_CURRENT_SOURCE_DIR}/blank.htm
     ${CMAKE_CURRENT_SOURCE_DIR}/mshtml.inf