indirect_dispatch_swap.c, which is autogenerated from a mesa script, contains the function 'bswap_CARD64', which is never used in the file. While it would be nice to fix this upstream, that's "hard", so this change causes these warnings to be ignored for just this directory.
Signed-off-by: Keith Packard <[email protected]> --- glx/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glx/Makefile.am b/glx/Makefile.am index 54e8140..9838581 100644 --- a/glx/Makefile.am +++ b/glx/Makefile.am @@ -27,6 +27,8 @@ if DRI2_AIGLX AM_CPPFLAGS += -I$(top_srcdir)/hw/xfree86/dri2 endif +AM_CFLAGS += -Wno-unused-function + indirect_sources = \ indirect_dispatch.c \ indirect_dispatch.h \ -- 1.8.5.3 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
