Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-03-30
06:18 • Ticket [2976508fff] tcl HEAD fails on HP-UX status still Closed with 4 other... artifact: 6b3ead5aaa user: jenglish
2010-03-26
16:45 • Closed ticket [2976508fff]. artifact: d7b21f3fc5 user: nijtmans
2010-03-25
21:58 • Ticket [2976508fff]: 4 changes artifact: f84d4f60cb user: dkf
21:51 • Ticket [2976508fff]: 4 changes artifact: 48219d2b67 user: fridolin
14:46 • New ticket [2976508fff]. artifact: d366d9c8b6 user: fridolin

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.