V8 [PATCH] C/C++: Add -Waddress-of-packed-member

Sandra Loosemore sandra@codesourcery.com
Wed Dec 19 03:19:00 GMT 2018


On 12/18/18 2:12 PM, H.J. Lu wrote:
> 
> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index ac2ee59d92c..47f2fc3f518 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -358,6 +358,7 @@ Objective-C and Objective-C++ Dialects}.
>  -Wuseless-cast  -Wvariadic-macros  -Wvector-operation-performance @gol
>  -Wvla  -Wvla-larger-than=@var{byte-size}  -Wvolatile-register-var @gol
>  -Wwrite-strings @gol
> +-Waddress-of-packed-member @gol
>  -Wzero-as-null-pointer-constant  -Whsa}
>  
>  @item C and Objective-C-only Warning Options

Minor documentation nit:  it looks like some effort has been made to 
alphabetize that list.  Can you please put -Waddress-of-packed member in 
the right place, and also fix the misplaced -Whsa at the end?

-Sandra



More information about the Gcc-patches mailing list