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 bbd888f + b46ddbe commit a498004Copy full SHA for a498004
cmake/modules/AddSwift.cmake
@@ -279,6 +279,10 @@ function(_add_variant_c_compile_flags)
279
list(APPEND result "-D_DLL")
280
# NOTE: We assume that we are using VS 2015 U2+
281
list(APPEND result "-D_ENABLE_ATOMIC_ALIGNMENT_FIX")
282
+ # NOTE: We use over-aligned values for the RefCount side-table
283
+ # (see revision d913eefcc93f8c80d6d1a6de4ea898a2838d8b6f)
284
+ # This is required to build with VS2017 15.8+
285
+ list(APPEND result "-D_ENABLE_EXTENDED_ALIGNED_STORAGE=1")
286
287
# msvcprt's std::function requires RTTI, but we do not want RTTI data.
288
# Emulate /GR-.
0 commit comments