diff options
author | Abseil Team <absl-team@google.com> | 2019-08-27T16·03-0700 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2019-08-27T17·29-0400 |
commit | a0d1e098c2f99694fa399b175a7ccf920762030e (patch) | |
tree | 7b1ed4e83ce331acd4bc725052d2c63bcbd310f1 /absl/copts | |
parent | 2d2d7fbc283315b676159716376e739d3d23ed94 (diff) |
Export of internal Abseil changes
-- f685906f54727cc2d356787af410ef72ddd38bd0 by Derek Mauro <dmauro@google.com>: On Windows, compile with /bigobj. Some template heavy code requires this. PiperOrigin-RevId: 265695531 -- ed808812a4f5915d0516cecdc24ef4b90cf8333e by Derek Mauro <dmauro@google.com>: Fix the btree_test build on Windows+CMake PiperOrigin-RevId: 265689993 -- c9a8ade28d7537d1dceec19c74edc4b10daf3c91 by Abseil Team <absl-team@google.com>: Remove unused using ::test::IsEmpty. PiperOrigin-RevId: 265567080 GitOrigin-RevId: f685906f54727cc2d356787af410ef72ddd38bd0 Change-Id: I12a3c9ef41c1b7c4c5f075a1ad4cedad54e953ac
Diffstat (limited to 'absl/copts')
-rw-r--r-- | absl/copts/GENERATED_AbseilCopts.cmake | 1 | ||||
-rw-r--r-- | absl/copts/GENERATED_copts.bzl | 1 | ||||
-rw-r--r-- | absl/copts/copts.py | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake index 01bd40b28ee1..57394c53ef02 100644 --- a/absl/copts/GENERATED_AbseilCopts.cmake +++ b/absl/copts/GENERATED_AbseilCopts.cmake @@ -196,6 +196,7 @@ list(APPEND ABSL_MSVC_FLAGS "/D_CRT_SECURE_NO_WARNINGS" "/D_SCL_SECURE_NO_WARNINGS" "/D_ENABLE_EXTENDED_ALIGNED_STORAGE" + "/bigobj" "/wd4005" "/wd4068" "/wd4180" diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl index 82f332f49cd1..18dbb68169fd 100644 --- a/absl/copts/GENERATED_copts.bzl +++ b/absl/copts/GENERATED_copts.bzl @@ -197,6 +197,7 @@ ABSL_MSVC_FLAGS = [ "/D_CRT_SECURE_NO_WARNINGS", "/D_SCL_SECURE_NO_WARNINGS", "/D_ENABLE_EXTENDED_ALIGNED_STORAGE", + "/bigobj", "/wd4005", "/wd4068", "/wd4180", diff --git a/absl/copts/copts.py b/absl/copts/copts.py index 068abcebcc33..0db6e0693b9f 100644 --- a/absl/copts/copts.py +++ b/absl/copts/copts.py @@ -171,6 +171,8 @@ COPT_VARS = { MSVC_STYLE_EXCEPTIONS_FLAGS, "ABSL_MSVC_FLAGS": MSVC_BIG_WARNING_FLAGS + MSVC_DEFINES + [ + # Increase the number of sections available in object files + "/bigobj", "/wd4005", # macro-redefinition "/wd4068", # unknown pragma # qualifier applied to function type has no meaning; ignored |