From 8c1e9c7dfdc17b156931bbbe42851c08c7281be5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 22 Apr 2012 01:29:07 +0300 Subject: WaE: comparison of integers of different signs and unused functions --- idlc/source/wrap_scanner.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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: */ -- cgit