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 |
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 --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 \ "
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(+)