Skip to content

Commit

Permalink
Bazel: Fix alignment conformance error on VS 2017 >= 15.8 (Fix #193)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Oct 26, 2018
1 parent 0a80422 commit a5f1fc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion absl/copts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ MSVC_FLAGS = [
"/wd4800", # forcing value to bool 'true' or 'false' (performance warning)
"/DNOMINMAX", # Don't define min and max macros (windows.h)
"/DWIN32_LEAN_AND_MEAN", # Don't bloat namespace with incompatible winsock versions.
"/D_CRT_SECURE_NO_WARNINGS", # Don't warn about usage of insecure C functions
"/D_CRT_SECURE_NO_WARNINGS", # Don't warn about usage of insecure C functions.
"/D_ENABLE_EXTENDED_ALIGNED_STORAGE", # Introduced in VS 2017 15.8,
# before the member type would non-conformingly have an alignment of only alignof(max_align_t).
]

MSVC_TEST_FLAGS = [
Expand Down

0 comments on commit a5f1fc8

Please sign in to comment.