From a7f17be9a45416cde5e6e5710b49d238dc3b6ae4 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 29 Jul 2017 20:45:20 +0000 Subject: 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@ --- gnu/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/llvm') 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, 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>; + InGroup>, DefaultIgnore; def err_objc_object_assignment : Error< "cannot assign to class object (%0 invalid)">; -- cgit v1.2.3