From f687c3e6d7927cd4d86249a3775f830e4759ea64 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Feb 2019 15:28:51 +0000 Subject: Ignore null-conversion warning in generated code --- libdbpp/sqlParse.ll | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libdbpp/sqlParse.ll b/libdbpp/sqlParse.ll index 1714dd0..d36dae5 100644 --- a/libdbpp/sqlParse.ll +++ b/libdbpp/sqlParse.ll @@ -11,6 +11,9 @@ #include "sqlParse.h" #pragma GCC diagnostic ignored "-Wsign-compare" #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#ifdef __clang__ +#pragma GCC diagnostic ignored "-Wnull-conversion" +#endif %} space [ \t\n\r\f] -- cgit v1.2.3