Overview
| Artifact ID: | 6b89865dcc01c87448441a31be7e70c461107fcc65108e834603ce49589b3ea3 |
|---|---|
| Ticket: | ad08bca6b16d069fb303d20f7feebd0952eff38d
Building sqlite3 for tcl8 redefines typedef |
| User & Date: | anonymous on 2026-04-13 01:47:19 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed 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 changed to: "9.0.3"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "81. Bundled Packages"
- title changed to: "Building sqlite3 for tcl8 redefines typedef"
- type changed to: "Bug"