From: Ruben Kerkhof Date: Mon, 15 Aug 2016 07:52:31 +0000 (+0200) Subject: scanner.l: remove GCC pragma X-Git-Tag: collectd-5.6.0~18 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bcf9f86d70fee01592ed6cf8cf738e86e3b8e173;p=collectd.git scanner.l: remove GCC pragma 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 --- diff --git a/src/liboconfig/scanner.l b/src/liboconfig/scanner.l index f578ae10..48580031 100644 --- a/src/liboconfig/scanner.l +++ b/src/liboconfig/scanner.l @@ -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"