Skip to content

Commit 866bb63

Browse files
committed
fix build on windows
1 parent 80c92ea commit 866bb63

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)