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 <[email protected]>
---
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 \
"
--
2.20.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 <[email protected]>
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 \
> "
>
>