[PATCH 13/13] sim: bpf: enable -Werror usage

Simon Marchi simon.marchi@polymtl.ca
Sun Jun 27 04:32:46 GMT 2021


On 2021-06-26 11:30 p.m., Mike Frysinger via Gdb-patches wrote:
> Now that all bpf warnings have been cleaned up, turn on -Werror.
> ---
>  sim/bpf/Makefile.in | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/sim/bpf/Makefile.in b/sim/bpf/Makefile.in
> index c48c37837e6e..3188ab1b0c21 100644
> --- a/sim/bpf/Makefile.in
> +++ b/sim/bpf/Makefile.in
> @@ -41,9 +41,6 @@ SIM_EXTRA_DEPS = \
>  
>  SIM_EXTRA_CLEAN = bpf-clean
>  
> -# Code doesn't build cleanly yet.
> -SIM_WERROR_CFLAGS =
> -
>  ## COMMON_POST_CONFIG_FRAG
>  
>  # BPF headers
> 

I tested this and I see not unexpected error :).

Simon


More information about the Gdb-patches mailing list