We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ff948f + 9907502 commit e009e28Copy full SHA for e009e28
cmake/modules/SwiftSharedCMakeConfig.cmake
@@ -279,6 +279,8 @@ macro(swift_common_cxx_warnings)
279
# the repository for IDE features such as #pragma mark "Title".
280
if("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
281
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4068")
282
+ check_cxx_compiler_flag("/permissive-" CXX_SUPPORTS_PERMISSIVE_FLAG)
283
+ append_if(CXX_SUPPORTS_PERMISSIVE_FLAG "/permissive-" CMAKE_CXX_FLAGS)
284
endif()
285
286
# Disallow calls to objc_msgSend() with no function pointer cast.
0 commit comments