Skip to content
Tcl Source Code History Of Ticket ad08bca6b16d069f
Login

History Of Ticket ad08bca6b16d069f

Artifacts Associated With Ticket ad08bca6b16d069f

  1. Ticket change [6b89865dcc] (rid 252719) by anonymous on 2026-04-13 01:47:19:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. 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;
                      ^
      
    5. foundin initialized to: "9.0.3"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Important"
    11. status initialized to: "Open"
    12. submitter initialized to: "anonymous"
    13. subsystem initialized to: "81. Bundled Packages"
    14. title initialized to: "Building sqlite3 for tcl8 redefines typedef"
    15. type initialized to: "Bug"
  2. Ticket change [1c7b74e605] (rid 252799) by jan.nijtmans on 2026-04-15 08:31:56:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2461145.8555168635"
    3. closer changed to: "jan.nijtmans"
    4. 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.
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
  3. Ticket change [70a50d74c4] (rid 252809) by apnadkarni on 2026-04-16 11:56:45:

    1. closer changed to: "nobody"
    2. icomment:
      Re-opened because [GH builds](https://github.com/tcltk/tcl/actions/runs/24498113436) break on all platforms.
      
    3. login: "apnadkarni"
    4. mimetype: "text/x-markdown"
    5. resolution changed to: "None"
    6. status changed to: "Open"
  4. Ticket change [8ea2f52442] (rid 252810) by apnadkarni on 2026-04-16 11:57:57:

    1. closedate changed to: "2461146.998579259"
    2. closer changed to: "apnadkarni"
    3. icomment:
      Closing - race condition in re-opening and fix being committed.
      
    4. login: "apnadkarni"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
  5. Ticket change [aa21e0d577] (rid 252887) by jan.nijtmans on 2026-04-20 11:53:26:

    1. closedate changed to: "2461150.995440382"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      See also [https://core.tcl-lang.org/thread/tktview/d3f41333aa|d3f41333aa], which is also an instance of basically the same bug.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"