Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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

Avoid ClockClientData typedef redefinition

Closed / Fixed4724f35adac7dd14443b502aaf8c7f90ea6f4d06Created 234 days agoUpdated 233 days ago
Descriptionplain2026-04-13 00:49:03
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;
                               ^
Referenced by2
jan.nijtmanswiki2026-04-13 16:44:25

Fixed [here]

Thanks for the report!

Log in (anonymous is fine) to add a comment.