fix & suppress warnings of generated code

This commit is contained in:
wmayer
2016-12-30 13:31:31 +01:00
parent 79ddef18f2
commit e0a89c17d2
5 changed files with 46 additions and 16 deletions

View File

@@ -356,7 +356,15 @@ int QuantityLexer(void);
#ifndef DOXYGEN_SHOULD_SKIP_THIS
// Scanner, defined in QuantityParser.l
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wsign-compare"
# pragma clang diagnostic ignored "-Wunneeded-internal-declaration"
#endif
#include "QuantityLexer.c"
#if defined(__clang__)
# pragma clang diagnostic pop
#endif
#endif // DOXYGEN_SHOULD_SKIP_THIS
}