Source: sqlite3
Version: 3.46.1-1
Severity: minor
Tags: patch
Getting the standard warnings of -Wall helps discovering when
changes (e.g. security fixes) introduce regressions.
The -fno-strict-aliasing option in debian/rules is old,
it was already in 3.0.8-3 in 2005.
www/changes.html says it is no longer needed:
...
2007-04-02 (3.3.14)
...
8. Get the library working correctly when compiled with GCC option
"-fstrict-aliasing".
...
--- debian/rules.old 2024-11-02 23:19:51.012243349 +0200
+++ debian/rules 2024-11-02 23:20:06.940231556 +0200
@@ -40,7 +40,7 @@
HOST_CC ?= $(CC)
endif
-export CFLAGS += -O2 -fno-strict-aliasing \
+export CFLAGS += -O2 -Wall \
-DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_COLUMN_METADATA \
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
-DSQLITE_ENABLE_RTREE=1 -DSQLITE_SOUNDEX=1 \