Skip to content
Commit a33e7ae2 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: add -Wdeclaration-after-statement flag unconditionally



We have raised the compiler requirement from time to time.
With commit cafa0010 ("Raise the minimum required gcc version
to 4.6"), the minimum for GCC is 4.6 now.

This flag has been here since the pre-git era. It is documented in
the GCC 4.6 manual, and it is recognized by Clang and ICC as well.

Let's rip off the cc-option switch, and see if somebody complains
about it.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: default avatarNick Desaulniers <ndesaulniers@google.com>
parent fb073a4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment