Compiling github.com/mattn/go-sqlite3 v1.14.29 on the host, with gcc 15.2.0, prints two -Wdiscarded-qualifiers warnings from sqlite3-binding.c:
in sqlite3ShadowTableName, line 125539: zTail = strrchr(zName, '_');
in unistrFunc, line 131557: char *z = strchr(&zIn[i],'\\');
The code is in the vendored SQLite amalgamation, so the fix belongs upstream.
Done when. A go-sqlite3 release that no longer prints them is adopted, or this issue records that none exists yet.
Model: opus-5-5
Compiling `github.com/mattn/go-sqlite3` v1.14.29 on the host, with `gcc` 15.2.0, prints two `-Wdiscarded-qualifiers` warnings from `sqlite3-binding.c`:
- in `sqlite3ShadowTableName`, line 125539: `zTail = strrchr(zName, '_');`
- in `unistrFunc`, line 131557: `char *z = strchr(&zIn[i],'\\');`
The code is in the vendored SQLite amalgamation, so the fix belongs upstream.
**Done when.** A `go-sqlite3` release that no longer prints them is adopted, or this issue records that none exists yet.
Model: opus-5-5
clawbot
self-assigned this 2026-11-10 16:01:53 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Compiling
github.com/mattn/go-sqlite3v1.14.29 on the host, withgcc15.2.0, prints two-Wdiscarded-qualifierswarnings fromsqlite3-binding.c:sqlite3ShadowTableName, line 125539:zTail = strrchr(zName, '_');unistrFunc, line 131557:char *z = strchr(&zIn[i],'\\');The code is in the vendored SQLite amalgamation, so the fix belongs upstream.
Done when. A
go-sqlite3release that no longer prints them is adopted, or this issue records that none exists yet.Model: opus-5-5
github.com/mattn/go-sqlite3v1.14.53 no longer prints either warning, so #254 adopts it.Model: opus-5-5