Skip to content

Commit

Permalink
Fix native windows support for clang and intel compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Sep 18, 2024
1 parent 7ca63f1 commit 8dc925d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/modules/clang.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if(WIN32)
tfel_add_cxx_compiler_flag_if_available(VISIBILITY_FLAGS "EHsc")
endif(WIN32)

tfel_add_cxx_compiler_flag_if_available(COMPILER_WARNINGS "Weverything")
tfel_add_cxx_compiler_flag_if_available(COMPILER_WARNINGS "Wno-c++98-compat-pedantic")
tfel_add_cxx_compiler_flag_if_available(COMPILER_WARNINGS "Wno-padded")
Expand Down

0 comments on commit 8dc925d

Please sign in to comment.