From 61c9552d18d1b0c026cb3a55ad3cbb3b36e76c61 Mon Sep 17 00:00:00 2001 From: Judson Date: Tue, 4 Oct 2016 16:51:54 +0100 Subject: [PATCH] Added CFLAG config to ignore deprecations --- sqlite3.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sqlite3.go b/sqlite3.go index 1c092e0..af4c68d 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -10,6 +10,7 @@ package sqlite3 #cgo CFLAGS: -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE #cgo CFLAGS: -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4_UNICODE61 #cgo CFLAGS: -DSQLITE_TRACE_SIZE_LIMIT=15 +#cgo CFLAGS: -Wno-deprecated-declarations -Wno-c99-extensions #ifndef USE_LIBSQLITE3 #include #else