linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] configure.ac: Turn off cast-function warnings
@ 2019-05-08 13:05 Steve Dickson
  2019-05-10 15:08 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Dickson @ 2019-05-08 13:05 UTC (permalink / raw)
  To: Linux NFS Mailing list

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

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-10 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-08 13:05 [PATCH] configure.ac: Turn off cast-function warnings Steve Dickson
2019-05-10 15:08 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).