Skip to content

Commit

Permalink
Remove temporary MSVC flag used to mitigate runner issue (#2184)
Browse files Browse the repository at this point in the history
Revert "Add `/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR` to fix segfault
#2151

This reverts commit a121c75.

actions/runner-images#10004
  • Loading branch information
flomnes authored Jun 21, 2024
1 parent 48a97fa commit b6d824f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmake/common-settings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (NOT WIN32)
set(COMMON_GCC_FLAGS "${COMMON_GCC_FLAGS} -Werror=return-type")
endif()
set(COMMON_MSVC_FLAGS "/W3 /MP4")
set(COMMON_MSVC_FLAGS "${COMMON_MSVC_FLAGS} /we4715 /we4716 /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR") #adding no return or no return for all code paths as errors
set(COMMON_MSVC_FLAGS "${COMMON_MSVC_FLAGS} /we4715 /we4716") #adding no return or no return for all code paths as errors
set(ADDITIONAL_C_FLAGS " -Wconversion -Wmissing-prototypes -Wstrict-prototypes")
set(ADDITIONAL_C_FLAGS "${ADDITIONAL_C_FLAGS} -Wmissing-noreturn -Wpacked -Wredundant-decls -Wbad-function-cast -W -Wcast-align -Wcast-qual -Wsign-compare -fno-exceptions -Wdeclaration-after-statement")

Expand Down

0 comments on commit b6d824f

Please sign in to comment.