Added CFLAG config to ignore deprecations

This commit is contained in:
Judson 2016-10-04 16:51:54 +01:00
parent 4b0af852c1
commit 61c9552d18
No known key found for this signature in database
GPG Key ID: 63EA4255011F64CD
1 changed files with 1 additions and 0 deletions

View File

@ -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 <sqlite3-binding.h>
#else