Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tcl HEAD fails on HP-UX

Closed / Fixed2976508fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-03-25 14:46:29
the c compiler complains about tclExecute.c on HP-UX:

cc: ".../generic/tclExecute.c", line 1925: error 1521: Incorrect initialization.
fridolinplain2010-03-25 21:51:12
tcl is also compiled with -fvisible=hidden. Just FYI, it's just a warning.
dkf Ticket [2976508fff]: 4 changes [History diff]2010-03-25 21:58:00
nijtmansplain2010-03-26 16:45:18
allow_comments - 1

On other systems, this construct is accepted, but I can imagine
why some compiler would complain about this. Just putting
the initialization out of the initial initialization should fix this.
jenglishplain2010-03-30 06:18:39
No need to imagine why some compilers would complain about it: it's not legal C89.

It *is* legal in C99, but before then array initializers could only contain compile-time constants.
Log in (anonymous is fine) to add a comment.