diff options
| author | Carsten Neumann <carsten.p.neumann@gmail.com> | 2020-04-30 20:22:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-30 17:22:56 -0700 |
| commit | 41f360b8339109ebd7a6a4d94ea8d604f9078a62 (patch) | |
| tree | 50f2552c810f90a13c16ec27d3ca2ea3770c18ea /scripts | |
| parent | c1dd394d1cae25ca17ce0d28cae5bb5ff7f2ae11 (diff) | |
| download | vcpkg-41f360b8339109ebd7a6a4d94ea8d604f9078a62.tar.gz vcpkg-41f360b8339109ebd7a6a4d94ea8d604f9078a62.zip | |
[abseil] Use std:: types when feature cxx17 is enabled (#11039)
Adds a patch changing macros in absl/base/options.h to
always use the std:: namespace types instead of the
absl:: namespace replacements (for any, optional,
string_view, variant).
The upstream version of options.h uses compiler/library
feature detection to decide this, but patch
fix-lnk2019-error.patch hard codes use of absl:: types,
thus rendering setting CMAKE_CXX_STANDARD to 17 in the
port file ineffective. Since auto detection is problematic
from an ABI point of view (see comments in
absl/base/options.h for details), this applies an
alternate patch for fix-lnk2019-error.patch when feature
cxx17 is enabled.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
