[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <58FE0DB5.20802@iogearbox.net>
Date: Mon, 24 Apr 2017 16:37:41 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Alexander Alemayhu <alexander@...mayhu.com>, netdev@...r.kernel.org
CC: ast@...com
Subject: Re: [PATCH net-next 1/3] samples/bpf: add -Wno-unknown-warning-option
to clang
On 04/24/2017 03:31 PM, Alexander Alemayhu wrote:
> I was initially going to remove '-Wno-address-of-packed-member' because I
> thought it was not supposed to be there but Daniel suggested using
> '-Wno-unknown-warning-option'.
>
> This silences several warnings similiar to the one below
>
> warning: unknown warning option '-Wno-address-of-packed-member' [-Wunknown-warning-option]
> 1 warning generated.
Yeah, that feature seems fairly new (Feb 2017 accepted if I
see this correctly): https://reviews.llvm.org/D20561
Given the -Wno-address-of-packed-member was there to silence
warnings in the first place, we should also silence warnings
when -Wno-address-of-packed-member is unknown to clang/llvm.
[...]
>
> Signed-off-by: Alexander Alemayhu <alexander@...mayhu.com>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists