Skip to content

Commit

Permalink
disable most verbose warnings in MSVC
Browse files Browse the repository at this point in the history
They are very noisy and not very useful.

the list of warnings can be found at https://learn.microsoft.com/en-us/cpp/preprocessor/compiler-warnings-that-are-off-by-default
  • Loading branch information
robUx4 committed Feb 20, 2024
1 parent f8c49c6 commit f9af4fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ if(DEV_MODE)
add_cxx_flag_if_supported(-Wno-error=unused-command-line-argument
-Wall -Wextra -Wpedantic -Wfatal-errors -fstack-protector-strong
-Wno-self-assign
-Wcast-align)
-Wcast-align
-W4)
endif()

set(libebml_SOURCES
Expand Down

0 comments on commit f9af4fd

Please sign in to comment.