Windows: Build the pe_image target as C++17 (see issue #2819)

This works around a bug in the Visual C++ standard library where the
std::is_integral templates are exported instead of inlined when building
with C++14. See also https://bugs.llvm.org/show_bug.cgi?id=42027.
This commit is contained in:
Marshall Greenblatt
2020-02-18 20:18:35 -05:00
parent e472228f29
commit 294eb75355
2 changed files with 15 additions and 3 deletions

View File

@@ -488,10 +488,10 @@ patches = [
'name': 'win_tool_wrapper_1033106',
},
{
# Windows: Build the double_conversion target as C++17 to avoid export of
# std::is_integral templates that should be inlined.
# Windows: Build targets as C++17 to avoid export of std::is_integral
# templates in cef_sandbox that should be inlined.
# https://bitbucket.org/chromiumembedded/cef/issues/2819
'name': 'win_double_conversion_2819',
'name': 'win_cpp17_msvc_sandbox_2819',
},
{
# libxml access is now limited to targets audited by the Security Team.