Tcl Source Code

View Ticket
Login
Ticket UUID: 4724f35adac7dd14443b502aaf8c7f90ea6f4d06
Title: Avoid ClockClientData typedef redefinition
Type: Patch Created on: 2026-04-13 00:49:03
Submitter: anonymous Assigned to: jan.nijtmans
Subsystem: 06. Time Measurement Severity: Important
Priority: 5 Medium Last modified: 2026-04-13 16:44:25
Status: Closed Closed by: jan.nijtmans
Resolution: Fixed Closed on: 2026-04-13 16:44:25
Version: 9.0.3
Description:
Redefining typedefs is an error with pre-C11 compilers:

In file included from /opt/bblocal/var/buildworker/base/build/vendor/tcl/generic/tclClock.c:20:
/opt/bblocal/var/buildworker/base/build/vendor/tcl/generic/tclDate.h:374:3: error: redefinition of typedef 'ClockClientData' is invalid in C [-Wtypedef-redefinition]
} ClockClientData;
  ^
/opt/bblocal/var/buildworker/base/build/vendor/tcl/generic/tclDate.h:293:32: note: previous definition is here
typedef struct ClockClientData ClockClientData;
                               ^
User Comments:
jan.nijtmans added on 2026-04-13 16:44:25:

Fixed [82bb0e95a3aee310|here]

Thanks for the report!


Attachments: