summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-07-29 20:45:20 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-07-29 20:45:20 +0000
commita7f17be9a45416cde5e6e5710b49d238dc3b6ae4 (patch)
tree74df9f9945c724c40563e766f51cc322f6623845
parent62d0579ed85009010615ebf0115796b419203ea5 (diff)
Disable -Waddress-of-packed-member by default.
While these warnings have the potential to be useful, there are too manu false positives right now. ok deraadt@
-rw-r--r--gnu/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td b/gnu/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
index d3e21ed9798..05fe50f468a 100644
--- a/gnu/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/gnu/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
@@ -5621,7 +5621,7 @@ def warn_pointer_indirection_from_incompatible_type : Warning<
InGroup<UndefinedReinterpretCast>, DefaultIgnore;
def warn_taking_address_of_packed_member : Warning<
"taking address of packed member %0 of class or structure %q1 may result in an unaligned pointer value">,
- InGroup<DiagGroup<"address-of-packed-member">>;
+ InGroup<DiagGroup<"address-of-packed-member">>, DefaultIgnore;
def err_objc_object_assignment : Error<
"cannot assign to class object (%0 invalid)">;