mbox series

[0/2] remove compiler warnings with icc using meson

Message ID 20200124153755.13939-1-bruce.richardson@intel.com (mailing list archive)
Headers
Series remove compiler warnings with icc using meson |

Message

Bruce Richardson Jan. 24, 2020, 3:37 p.m. UTC
  While icc can compile DPDK successfully using a meson/ninja build, there
are a lot of warnings issued in the process, which means that any use of
werror flag will break the build, and the output just looks messy and
possibly worrying to the user.

To improve this situation, we can fix the warnings about unsupported
compiler flags, and just maintain a list of icc warnings to ignore.

Bruce Richardson (2):
  net/octeontx2: check compiler flag before use
  build: remove warnings for builds with icc

 config/meson.build                | 6 ++++++
 drivers/net/octeontx2/meson.build | 4 +---
 2 files changed, 7 insertions(+), 3 deletions(-)
  

Comments

Thomas Monjalon Feb. 6, 2020, 2:23 a.m. UTC | #1
24/01/2020 16:37, Bruce Richardson:
> While icc can compile DPDK successfully using a meson/ninja build, there
> are a lot of warnings issued in the process, which means that any use of
> werror flag will break the build, and the output just looks messy and
> possibly worrying to the user.
> 
> To improve this situation, we can fix the warnings about unsupported
> compiler flags, and just maintain a list of icc warnings to ignore.
> 
> Bruce Richardson (2):
>   net/octeontx2: check compiler flag before use
>   build: remove warnings for builds with icc

Applied, thanks