summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d061c27)
raw | patch | inline | side by side (parent: d061c27)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 14 Aug 2016 20:25:53 +0000 (22:25 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 14 Aug 2016 20:25:53 +0000 (22:25 +0200) |
They warn for unknown pragmas
src/liboconfig/scanner.l | patch | blob | history |
index 09de4d2e40ce0fac32e92f9ed9423810ab06594a..2b5dbfb7e7ef031ffac9d248ef94d1ccab2916a2 100644 (file)
--- a/src/liboconfig/scanner.l
+++ b/src/liboconfig/scanner.l
#include "aux_types.h"
#include "parser.h"
+#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wmissing-noreturn"
+#endif
+
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
return;
} /* ml_append */
+#ifdef __clang__
#pragma clang diagnostic pop
+#endif
+
#pragma GCC diagnostic pop