Artifacts Associated With Ticket 342a9ab0e817c7d4
Ticket change [872b55f19a] (rid 220206) by dgp on 2023-11-13 17:54:19:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
Trying to build the sqlite trunk against the Tcl trunk, I see... In file included from /home/dgp/fossil/tcl/generic/tcl.h:2426:0, from /home/dgp/fossil/tcl/pkgs/sqlite/generic/tclsqlite3.c:46: /home/dgp/fossil/tcl/pkgs/sqlite/generic/tclsqlite3.c: In function ‘dbPrepareAndBind’: /home/dgp/fossil/tcl/generic/tclDecls.h:4032:67: error: size of array ‘_bool_Var’ is negative # define TCLBOOLWARNING(boolPtr) ({__attribute__((unused)) char _bool_Var[sizeof(*(boolPtr)) > sizeof(int) ? -1 : 1];}), ^ /home/dgp/fossil/tcl/generic/tclDecls.h:4041:3: note: in expansion of macro ‘TCLBOOLWARNING’ (TCLBOOLWARNING(boolPtr)(sizeof(*(boolPtr)) >= sizeof(int) && (TCL_MAJOR_VERSION == 8)) ? tclStubsPtr->tcl_GetBooleanFromObj(interp, objPtr, (int *)(boolPtr)) : \ ^ /home/dgp/fossil/tcl/pkgs/sqlite/generic/tclsqlite3.c:1588:11: note: in expansion of macro ‘Tcl_GetBooleanFromObj’ Tcl_GetBooleanFromObj(interp, pVar, &n); - is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "None"
- title initialized to: "sqlite build error"
- type initialized to: "Bug"
Ticket change [306b29d670] (rid 220208) by jan.nijtmans on 2023-11-13 19:20:47:
- assignee changed to: "jan.nijtmans"
- icomment:
Fixed [https://cyqlite.sourceforge.io/cgi-bin/sqlite/info/d172d5f54ec0ed42|here]. This warning was built into tcl.h exactly for this purpose: Tcl_GetBooleanFromObj() should never be used with a Tcl_Size or Tcl_WideInt pointer argument: You cannot always blindly convert int -> Tcl_Size The warning in Tcl works! Error now fixed in SQLite. I will prepare a new version (3.44.0), which contains this fix. Thanks!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [c20704d4b0] (rid 258134) by serhiy.storchaka on 2026-10-15 11:29:06:
- icomment: "Closing: fixed, see above."
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"
Ticket change [d52da10eb6] (rid 259935) by serhiy.storchaka on 2026-10-22 17:19:26:
- closedate changed to: "2461328.978551829"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"