Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Avoid ClockClientData typedef redefinition

Closed / Fixed4724f35adac7dd14443b502aaf8c7f90ea6f4d06Created 235 days agoUpdated 234 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.