Artifacts Associated With Ticket ad08bca6b1
Ticket change [6b89865dcc] (rid 252719) by anonymous on 2026-04-13 01:47:19:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
tcl.h does this: #if TCL_MAJOR_VERSION < 9 # ifndef Tcl_Size typedef int Tcl_Size; # endif ... tclsqlite3.c does this: #if TCL_MAJOR_VERSION==9 # define CONST const #elif !defined(Tcl_Size) typedef int Tcl_Size; #endif Since Tcl_Size is never defined as a macro, the #ifndef guards don't help, and pre-C11 compilers error like so: /opt/bblocal/var/buildworker/base/build/vendor/tcl/pkgs/sqlite3.51.0/generic/tclsqlite3.c:56:15: error: redefinition of typedef 'Tcl_Size' is invalid in C [-Wtypedef-redefinition] typedef int Tcl_Size; ^ In file included from /opt/bblocal/var/buildworker/base/build/vendor/tcl/pkgs/sqlite3.51.0/generic/tclsqlite3.c:47: /opt/bblocal/var/buildworker/base/build/vendor/tcl/generic/tcl.h:326:17: note: previous definition is here typedef int Tcl_Size; ^ - foundin initialized to: "9.0.3"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "81. Bundled Packages"
- title initialized to: "Building sqlite3 for tcl8 redefines typedef"
- type initialized to: "Bug"
Ticket change [1c7b74e605] (rid 252799) by jan.nijtmans on 2026-04-15 08:31:56:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2461145.8555168635"
- closer changed to: "jan.nijtmans"
- icomment:
Thanks for the report! Should be fixed [b6a50a0482cf3db3|here]. Done in Tcl, because sqlite3 won't be the only extension suffering from this when using a pre-c11 compiler. pre-c11 compilers are dying out, that's most likely the reason this wasn't reported before.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [70a50d74c4] (rid 252809) by apnadkarni on 2026-04-16 11:56:45:
- closer changed to: "nobody"
- icomment:
Re-opened because [GH builds](https://github.com/tcltk/tcl/actions/runs/24498113436) break on all platforms.
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- resolution changed to: "None"
- status changed to: "Open"
Ticket change [8ea2f52442] (rid 252810) by apnadkarni on 2026-04-16 11:57:57:
- closedate changed to: "2461146.998579259"
- closer changed to: "apnadkarni"
- icomment:
Closing - race condition in re-opening and fix being committed.
- login: "apnadkarni"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [aa21e0d577] (rid 252887) by jan.nijtmans on 2026-04-20 11:53:26:
- closedate changed to: "2461150.995440382"
- closer changed to: "jan.nijtmans"
- icomment:
See also [https://core.tcl-lang.org/thread/tktview/d3f41333aa|d3f41333aa], which is also an instance of basically the same bug.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"