summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2009-10-28 17:48:19 -0700
committerKeith Packard <keithp@keithp.com>2009-10-28 18:59:07 -0700
commitfab74d1081270fb8f1d231e6e10d10aa33e164da (patch)
tree2c660be77c367306fb228f7cfaf232e5f1027776 /hw
parent239435875d6a92ed31731b500a992a3af0943594 (diff)
Suppress certain GCC warnings in auto-generated code.
- Don't warn for references to deprecated functions in xorg_symbols. - Ignore functions generated by gl_apitemp.py that are never used. Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw')
-rwxr-xr-xhw/xfree86/loader/sdksyms.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/loader/sdksyms.sh b/hw/xfree86/loader/sdksyms.sh
index 11865472f..eea024063 100755
--- a/hw/xfree86/loader/sdksyms.sh
+++ b/hw/xfree86/loader/sdksyms.sh
@@ -2,6 +2,7 @@
cat > sdksyms.c << EOF
/* This file is automatically generated by sdksyms.sh. */
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>