Tcl Source Code

View Ticket
Login
2026-04-13
16:44 • Closed ticket [4724f35ada]: Avoid ClockClientData typedef redefinition plus ... artifact: d084125512 user: jan.nijtmans
16:43
Fix [4724f35ada]: Avoid ClockClientData typedef redefinition check-in: ec3f087dbe user: jan.nijtmans tags: trunk, main
16:42
Fix [4724f35ada]: Avoid ClockClientData typedef redefinition check-in: 82bb0e95a3 user: jan.nijtmans tags: core-9-0-branch
00:50 • Add attachment ClockClientData.patch to ticket [4724f35adac7dd14|4724f3... artifact: 14c2420aa3 user: anonymous
00:49 • New ticket [4724f35ada] Avoid ClockClientData typedef redefinition. artifact: e5ba099234 user: anonymous

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: