Skip to content

Commit 47642da

Browse files
committed
update clang.cmake
1 parent 4246528 commit 47642da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/modules/clang.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ if(WIN32)
33
endif(WIN32)
44

55
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Weverything")
6+
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-c++98-compat-pedantic")
67
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-padded")
78
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-documentation")
89
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-documentation-unknown-command")
910
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-exit-time-destructors")
1011
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-global-constructors")
1112
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-missing-braces")
13+
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-unsafe-buffer-usage")
1214
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wrange-loop-analysis")
1315
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wmove")
1416
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Winfinite-recursion")

0 commit comments

Comments
 (0)