| Ticket UUID: | 2976508 | ||
| Title: | tcl HEAD fails on HP-UX | ||
| Type: | Bug | Created on: | 2010-03-25 14:46:29 |
| Submitter: | fridolin | Assigned to: | nijtmans |
| Subsystem: | 47. Bytecode Compiler | Severity: | |
| Priority: | 9 Immediate | Last modified: | 2010-03-30 06:18:39 |
| Status: | Closed | Closed by: | nijtmans |
| Resolution: | Fixed | Closed on: | 2010-03-26 09:45:18 |
| Version: | obsolete: 8.6b1.1 | ||
| Description: | ||||
the c compiler complains about tclExecute.c on HP-UX: cc: ".../generic/tclExecute.c", line 1925: error 1521: Incorrect initialization. | ||||
| User Comments: | ||||
fridolin added on 2010-03-25 21:51:12:
tcl is also compiled with -fvisible=hidden. Just FYI, it's just a warning. nijtmans added on 2010-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. jenglish added on 2010-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. | ||||
