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 <alexan...@alemayhu.com>
Acked-by: Daniel Borkmann <dan...@iogearbox.net>