llvm.org GIT mirror llvm / a405db4
Re-disable C4324 MSVC warning that was enabled in D65458 / rL367383 This was breaking /WX builds git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367409 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 2 months ago
1 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
529529 # is fixed.
530530 -wd4709 # Suppress comma operator within array index expression
531531
532 # Ideally, we'd like this warning to be enabled, but MSVC 2013 doesn't
533 # support the 'aligned' attribute in the way that clang sources requires (for
534 # any code that uses the LLVM_ALIGNAS macro), so this is must be disabled to
535 # avoid unwanted alignment warnings.
536 # When we switch to requiring a version of MSVC that supports the 'alignas'
537 # specifier (MSVC 2015?) this warning can be re-enabled.
538 -wd4324 # Suppress 'structure was padded due to __declspec(align())'
539
532540 # Promoted warnings.
533541 -w14062 # Promote 'enumerator in switch of enum is not handled' to level 1 warning.
534542