https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1758c3831b08c1ee98790fd20c2d50c33ac511c2

commit 1758c3831b08c1ee98790fd20c2d50c33ac511c2
Author:     Serge Gautherie <[email protected]>
AuthorDate: Thu Nov 12 01:22:46 2020 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Wed Apr 14 20:55:57 2021 +0200

    [MSHTML] MSVC: There is no 'error C4028' anymore
    
    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 | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dll/win32/mshtml/CMakeLists.txt b/dll/win32/mshtml/CMakeLists.txt
index 327e719aa0c..0f66f5e59f6 100644
--- a/dll/win32/mshtml/CMakeLists.txt
+++ b/dll/win32/mshtml/CMakeLists.txt
@@ -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

Reply via email to