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

Same as Matroska-Org/libebml@f9af4fd
  • Loading branch information
robUx4 committed Mar 3, 2024
1 parent c69b33a commit c818ba4
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 @@ -37,7 +37,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(libmatroska_SOURCES
Expand Down

0 comments on commit c818ba4

Please sign in to comment.