summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 15:28:51 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 21:28:31 +0000
commitf687c3e6d7927cd4d86249a3775f830e4759ea64 (patch)
tree548ea125d0f2f4c8b539424a69857c5d7af1b9bd
parentAdd libdbpp-sqlite submodule (diff)
downloadlibdbpp-f687c3e6d7927cd4d86249a3775f830e4759ea64.tar.bz2
libdbpp-f687c3e6d7927cd4d86249a3775f830e4759ea64.tar.xz
libdbpp-f687c3e6d7927cd4d86249a3775f830e4759ea64.zip
Ignore null-conversion warning in generated code
-rw-r--r--libdbpp/sqlParse.ll3
1 files changed, 3 insertions, 0 deletions
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]