Re: [PATCH] configure.ac: Turn off cast-function warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 5/8/19 9:05 AM, Steve Dickson wrote:
> The rpcgen generated code from .x files creates
> a cast-function-type warning.
> 
> Due to the age and stability of the code
> turning off the warning makes more sense
> than re-writing the .x files.
> 
> Signed-off-by: Steve Dickson <steved@xxxxxxxxxx>
Committed...

steved.

> ---
>  configure.ac | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configure.ac b/configure.ac
> index e89ca67..4e72790 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -592,6 +592,7 @@ my_am_cflags="\
>   -Werror=parentheses \
>   -Werror=aggregate-return \
>   -Werror=unused-result \
> + -Wno-cast-function-type \
>   -fno-strict-aliasing \
>  "
>  
> 



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux