mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 12:56:29 +00:00
Remove -Wimplicit-fallthrough #pragma from sqlite3.c (fixes #128)
Replace it with the -Wno-implicit-fallthrough CFLAGS_SQLITE option in configure.ac, so it no longer causes compile errors with older compilers that don't support that warning.
This commit is contained in:
parent
189485a513
commit
e349c8fc9c
@ -263,6 +263,7 @@ AX_APPEND_COMPILE_FLAGS([ \
|
||||
-Wno-unused-but-set-variable \
|
||||
-Wno-missing-field-initializers \
|
||||
-Wno-deprecated-declarations \
|
||||
-Wno-implicit-fallthrough \
|
||||
'-Wno-#warnings' \
|
||||
],
|
||||
[CFLAGS_SQLITE], [-Werror])
|
||||
|
@ -1,4 +1,3 @@
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
|
||||
/******************************************************************************
|
||||
** This file is an amalgamation of many separate C source files from SQLite
|
||||
** version 3.14.2. By combining all the individual C code files into this
|
||||
|
Loading…
Reference in New Issue
Block a user