diff options
author | Brian Behlendorf <[email protected]> | 2017-01-28 12:12:25 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2017-01-28 12:12:25 -0800 |
commit | 3130b84e94717fe9aad67a14defe79bb7f10fa9f (patch) | |
tree | 19f697e2cf41e33464a96a29d1c2014304f0a8b5 /cmd | |
parent | 721ed0ee86463cb3e4a562d86783fd1372182367 (diff) |
Add -Wno-declaration-after-statement to KERNELCPPFLAGS
Disable the warnings regarding ISO C90 forbidding mixed
declarations and code. While this functionality was
introduced as part of C99 gcc does allow this in C90
mode as an extension.
https://gcc.gnu.org/onlinedocs/gcc/Mixed-Declarations.html#Mixed-Declarations
Allowing this usage helps minimize the changes required
when porting patches from OpenZFS. The downside here is
that this functionality is specific to gcc.
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #5686
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions