File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -903,6 +903,9 @@ function(myci_declare_library name)
903903 /WX # warnings = errors
904904 # /W4 includes check for non-virtual-destructor.
905905 # There is no equivalent for -fstring-aliasing, as MSVS generally assumes a more conservative aliasing model by default.
906+
907+ # disable some warnings
908+ /wd4458 # local declaration hides class member
906909 )
907910 else ()
908911 target_compile_options (${name} PRIVATE
@@ -1187,6 +1190,9 @@ function(myci_declare_application name)
11871190 /WX # warnings = errors
11881191 # /W4 includes check for non-virtual-destructor.
11891192 # There is no equivalent for -fstring-aliasing, as MSVS generally assumes a more conservative aliasing model by default.
1193+
1194+ # disable some warnings
1195+ /wd4458 # local declaration hides class member
11901196 )
11911197 else ()
11921198 target_compile_options (${name} PRIVATE
You can’t perform that action at this time.
0 commit comments