Code

scanner.l: remove GCC pragma
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 15 Aug 2016 07:52:31 +0000 (09:52 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 15 Aug 2016 07:52:31 +0000 (09:52 +0200)
GCC on RHEL5 doesn't recognize it and warns about it

scanner.l:36: warning: ignoring #pragma GCC diagnostic
make[4]: *** [scanner.lo] Error 1
  CC       parser.lo

src/liboconfig/scanner.l

index f578ae1098c5160437495860032eda87baaa6e09..485800317b57f7189b2ed80aed40e0034e00fae4 100644 (file)
@@ -33,7 +33,6 @@
 #include "aux_types.h"
 #include "parser.h"
 
-#pragma GCC diagnostic ignored "-Wsign-compare"
 #ifdef __clang__
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wmissing-noreturn"