projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a82b047
)
scanner.l: remove GCC pragma
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 15 Aug 2016 07:52:31 +0000
(09:52 +0200)
committer
Ruben 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
patch
|
blob
|
history
diff --git
a/src/liboconfig/scanner.l
b/src/liboconfig/scanner.l
index
f578ae1
..
4858003
100644
(file)
--- 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"