From a505c63e8ed6cb8fe673b62d6e37262471d3298d Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Thu, 5 Sep 2024 14:02:36 +0200 Subject: [PATCH] Fix Issue #620 --- cmake/modules/clang.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/modules/clang.cmake b/cmake/modules/clang.cmake index bad752fab..b10680c56 100644 --- a/cmake/modules/clang.cmake +++ b/cmake/modules/clang.cmake @@ -1,3 +1,7 @@ +if(WIN32) + tfel_enable_cxx_compiler_flag(VISIBILITY_FLAGS "EHsc") +endif(WIN32) + tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Weverything") tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-padded") tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-documentation")