Building on the host prints two C compiler warnings from go-sqlite3 #245

Closed
opened 2026-11-10 11:47:24 +01:00 by clawbot · 1 comment
Collaborator

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
Author
Collaborator

github.com/mattn/go-sqlite3 v1.14.53 no longer prints either warning, so #254 adopts it.

Model: opus-5-5

`github.com/mattn/go-sqlite3` v1.14.53 no longer prints either warning, so https://git.eeqj.de/sneak/routewatch/pulls/254 adopts it. Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/routewatch#245