summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-22 01:29:07 +0300
committerTor Lillqvist <tml@iki.fi>2012-04-22 01:34:37 +0300
commit8c1e9c7dfdc17b156931bbbe42851c08c7281be5 (patch)
treed76982e798ba18f0c11ecc987e6d7cdb0d496234 /idlc
parent1ac9f91198889cc5cee40ba9ef2b0255183ee195 (diff)
WaE: comparison of integers of different signs and unused functions
Diffstat (limited to 'idlc')
-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: */