commit | f88fc7903cb56ba9858a53d0079bc8c5aa41a62c | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <pcc@chromium.org> | Mon Feb 12 22:11:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 12 22:11:45 2018 |
tree | d83328182efa46f98a0a7a84686cb6af5cd2bca7 | |
parent | eb881a742835c16302c862c22bc5d1e4e5ef9620 [diff] |
build: Don't define _HAS_EXCEPTIONS to 0 with libc++. libc++ uses the __has_feature macro to control whether to use exceptions, so defining this macro is unnecessary. Defining _HAS_EXCEPTIONS to 0 also breaks libc++ because it depends on MSVC headers that only provide certain declarations if _HAS_EXCEPTIONS is 1. Those MSVC headers do not use exceptions, despite being conditional on _HAS_EXCEPTIONS. Bug: 801780 Change-Id: Icc90ffeea55fe7298a0780ea99a4c33a493ac533 Reviewed-on: https://chromium-review.googlesource.com/885503 Commit-Queue: Peter Collingbourne <pcc@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#536209}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .