summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-09-26 23:08:39 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-09-26 23:08:39 +0000
commit1d8a407e642a211c3dfccf4d2d4d383603dd2273 (patch)
tree8ddf66cdf926db23121548884dda75c63326dc8d
parent2ea995adf092bf0e5aa753843f1af45be68a945c (diff)
downloadbcm5719-llvm-1d8a407e642a211c3dfccf4d2d4d383603dd2273.tar.gz
bcm5719-llvm-1d8a407e642a211c3dfccf4d2d4d383603dd2273.zip
[libcxx] [test] Silence warning C4324 for MSVC.
This warning "structure was padded due to alignment specifier" says that the compiler is going to do exactly what you asked it to do. It's triggered by the tests for over-aligned dynamic memory allocation. llvm-svn: 314257
-rw-r--r--libcxx/test/support/msvc_stdlib_force_include.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/support/msvc_stdlib_force_include.hpp b/libcxx/test/support/msvc_stdlib_force_include.hpp
index 06dae96209a..83120c7eb52 100644
--- a/libcxx/test/support/msvc_stdlib_force_include.hpp
+++ b/libcxx/test/support/msvc_stdlib_force_include.hpp
@@ -54,6 +54,7 @@ const AssertionDialogAvoider assertion_dialog_avoider{};
// Silence compiler warnings.
#pragma warning(disable: 4180) // qualifier applied to function type has no meaning; ignored
+ #pragma warning(disable: 4324) // structure was padded due to alignment specifier
#pragma warning(disable: 4521) // multiple copy constructors specified
#pragma warning(disable: 4702) // unreachable code
#pragma warning(disable: 28251) // Inconsistent annotation for 'new': this instance has no annotations.
OpenPOWER on IntegriCloud