Skip to content

Commit 725f04b

Browse files
committed
disable some MSVC warnings
1 parent a7e6d31 commit 725f04b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/cmake/modules/myci.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,8 @@ function(myci_declare_library name)
917917

918918
# disable some warnings
919919
/wd4458 # local declaration hides class member
920+
/wd4100 # unreferenced parameter
921+
/wd4456 # declaration of 'X' hides previous local declaration
920922
)
921923
else()
922924
if(arg_NO_WARNINGS_AS_ERRORS)
@@ -1210,6 +1212,8 @@ function(myci_declare_application name)
12101212

12111213
# disable some warnings
12121214
/wd4458 # local declaration hides class member
1215+
/wd4100 # unreferenced parameter
1216+
/wd4456 # declaration of 'X' hides previous local declaration
12131217
)
12141218
else()
12151219
target_compile_options(${name} PRIVATE

0 commit comments

Comments
 (0)