summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idlc/source/wrap_scanner.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/idlc/source/wrap_scanner.cxx b/idlc/source/wrap_scanner.cxx
index f058db12723d..94a068add789 100644
--- a/idlc/source/wrap_scanner.cxx
+++ b/idlc/source/wrap_scanner.cxx
@@ -26,7 +26,13 @@
*
************************************************************************/
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Wsign-compare"
+#endif
#include "scanner.cxx"
+void (*avoid_unused_yyunput_in_scanner_cxx)(int, char*) = yyunput;
+int (*avoid_unused_yyinput_in_scanner_cxx)() = yyinput;
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */