diff mbox series

configure.ac: Turn off cast-function warnings

Message ID 20190508130523.14175-1-steved@redhat.com (mailing list archive)
State New, archived
Headers show
Series configure.ac: Turn off cast-function warnings | expand

Commit Message

Steve Dickson May 8, 2019, 1:05 p.m. UTC
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@redhat.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

Comments

Steve Dickson May 10, 2019, 3:08 p.m. UTC | #1
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@redhat.com>
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 \
>  "
>  
>
diff mbox series

Patch

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 \
 "