Re: [PATCH v2 3/5] configure: Clean up warning flag lists

2020-06-16 Thread Richard Henderson
On 6/11/20 7:25 AM, Eric Blake wrote: >> +add_to warn_flags -Wold-style-declaration > > Hmm - should we add: > warn_flags= nowarn_flags= > prior to this line, to ensure that something inherited from the environment > doesn't mess us up. > >> +add_to warn_flags -Wold-style-definition >> +add_to

Re: [PATCH v2 3/5] configure: Clean up warning flag lists

2020-06-11 Thread Eric Blake
On 6/10/20 3:39 PM, Richard Henderson wrote: Use a helper function to tidy the assembly of gcc_flags. Separate flags that disable warnings from those that enable, and sort the disable warnings to the end. Suggested-by: Eric Blake Signed-off-by: Richard Henderson --- configure | 40

[PATCH v2 3/5] configure: Clean up warning flag lists

2020-06-10 Thread Richard Henderson
Use a helper function to tidy the assembly of gcc_flags. Separate flags that disable warnings from those that enable, and sort the disable warnings to the end. Suggested-by: Eric Blake Signed-off-by: Richard Henderson --- configure | 40 ++-- 1 file changed,