|
2026-03-12
| ||
| 11:31 | • Closed ticket [bf482486b9]: MS-VC6 compile error in 8.6: 'long' followed... artifact: 95053e0458 user: jan.nijtmans | |
| 11:27 | Fix [bf482486b9]: MS-VC6 compile error in 8.6: 'long' followed by 'long' is illegal. Disable false-f... check-in: f597e6a51a user: jan.nijtmans tags: core-8-6-branch | |
| 11:22 | • Ticket [bf482486b9] MS-VC6 compile error in 8.6: 'long' followed by '... artifact: 9fb7ce44c1 user: oehhar | |
| 11:00 | • Ticket [bf482486b9]: 3 changes artifact: 55c3904a83 user: jan.nijtmans | |
| 10:50 | • Ticket [bf482486b9]: 4 changes artifact: 79e4d17075 user: oehhar | |
| 10:26 | • Ticket [bf482486b9]: 3 changes artifact: bd5afabd19 user: jan.nijtmans | |
| 10:21 | Proposed fix for [bf482486b9]: MS-VC6 compile error in 8.6: 'long' followed by 'long' is illegal check-in: a9796c1287 user: jan.nijtmans tags: bug-bf482486b9 | |
| 09:17 | • Ticket [bf482486b9] MS-VC6 compile error in 8.6: 'long' followed by '... artifact: 2dea9eecb1 user: oehhar | |
| 09:16 | • Ticket [bf482486b9]: 2 changes artifact: 1488e1b48c user: oehhar | |
| 09:16 | • New ticket [bf482486b9]. artifact: f54e4d8915 user: oehhar | |
MS-VC6 compile error in 8.6: 'long' followed by 'long' is illegal
Closed / Fixedbf482486b99d0a680fbfa690e8f9b30692f82665Created 266 days agoUpdated 265 days ago
Descriptionplain2026-03-12 09:16:33
Sorry, with MS-VC6++ 32 bit, the curren core-8-6-branch does not compile any more. The error lines are: <verbatim> C:\test\fossil\tcl\core-8-6-branch\win\..\compat\zlib\zlib.h(2016) : error C2632: 'long' followed by 'long' is illegal C:\test\fossil\tcl\core-8-6-branch\win\..\compat\zlib\zlib.h(2016) : error C2632: 'long' followed by 'long' is illegal C:\test\fossil\tcl\core-8-6-branch\win\..\compat\zlib\zlib.h(2017) : error C2632: 'long' followed by 'long' is illegal C:\test\fossil\tcl\core-8-6-branch\win\..\compat\zlib\zlib.h(2018) : error C2632: 'long' followed by 'long' is illegal C:\test\fossil\tcl\core-8-6-branch\win\..\compat\zlib\zlib.h(2019) : error C2632: 'long' followed by 'long' is illegal C:\test\fossil\tcl\core-8-6-branch\win\..\compat\zlib\zlib.h(2020) : error C2632: 'long' followed by 'long' is illegal C:\test\fossil\tcl\core-8-6-branch\win\..\compat\zlib\zlib.h(2021) : error C2632: 'long' followed by 'long' is illegal </verbatim> Sorry, Harald
Referenced by2
f597e6a51aFix [bf482486b9]: MS-VC6 compile error in 8.6: 'long' followed by 'long' is illegal. Disable false-flag warning C4550 check-in2026-03-12 11:27:47a9796c1287Proposed fix for [bf482486b9]: MS-VC6 compile error in 8.6: 'long' followed by 'long' is illegal check-in2026-03-12 10:21:20
oehhar Ticket [bf482486b9]: 2 changes
[History diff]2026-03-12 09:16:44
oehhar Ticket [bf482486b9]: 2 changes
[History diff]2026-03-12 09:17:02
jan.nijtmanswiki2026-03-12 10:26:40
Does [this] work?
This was introduced in zlib, already almost 2 years ago: https://github.com/madler/zlib/commit/c5e87dcdef72abfb599579bb1b8176948be979c9
I don't think it's worth to report this upstream ....
oehharwiki2026-03-12 10:50:27
Yes, that compiles well. Light speed solution !
I have the following unrelated and ignored warning while compiling:
generic\tclProc.c(2275) : warning C4550: expression evaluates to a function which is missing an argument list
Thanks for all, Harald
jan.nijtmanswiki2026-03-12 11:00:44
Easiest would be just disable it: [f2e024b717e638a5]
It's a false-positive anyway
oehharwiki2026-03-12 11:22:42
Fix for the warning is effective. No more comments, ready to merge.
Thanks for all, Harald
jan.nijtmanswiki2026-03-12 11:31:14
[merged|f597e6a51ad4a54f]
There is no need to mention this change in the changelog, since it can be considered as part of the zlib upgrade, and it was never published in any official Tcl release.
Log in (anonymous is fine) to add a comment.