| Ticket UUID: | a1f11d96b85e77596416d216123db095002861c5 | ||
| Title: | VC6 compilation error of core-8-6-branch: error C2065: 'int16_t' : undeclared identifier | ||
| Type: | Bug | Created on: | 2023-09-13 11:32:00 |
| Submitter: | oehhar | Assigned to: | nobody |
| Subsystem: | 56. LibTomMath | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2023-09-13 13:03:31 |
| Status: | Closed | Closed by: | oehhar |
| Resolution: | Fixed | Closed on: | 2023-09-13 13:03:31 |
| Version: | core-8-6-branch | ||
| Description: | ||||
|
When compiling current core-8-6-branch with MS-VC6++, PSDK2003SP2, 32bit on Windows 10 64bit GER, I get the following error messages: bn_mp_pack.c C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_pack.c(29) : error C2065: 'int16_t' : undeclared identifier C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_pack.c(29) : error C2146: syntax error : missing ';' before identifier 'n' C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_pack.c(29) : error C2065: 'n' : undeclared identifier C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_pack.c(29) : error C2143: syntax error : missing ';' before 'type' C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_pack.c(29) : error C2065: 'p' : undeclared identifier C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_pack.c(29) : error C2109: subscript requires array or pointer type ... bn_mp_unpack.c C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_unpack.c(19) : error C2065: 'int16_t' : undeclared identifier C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_unpack.c(19) : error C2146: syntax error : missing ';' before identifier 'n' C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_unpack.c(19) : error C2065: 'n' : undeclared identifier C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_unpack.c(19) : error C2143: syntax error : missing ';' before 'type' C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_unpack.c(19) : error C2065: 'p' : undeclared identifier C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\libtommath\bn_mp_unpack.c(19) : error C2109: subscript requires array or pointer type Here is the fossil info:
fossil info
project-name: Tcl Source Code
project-code: 1ec9da4c469c29f4717e2a967fe6b916d9c8c06e
checkout: 0ab69f432702de56aadcbda3758fc5ae278f31ef 2023-09-12 17:16:10 UTC
parent: 6d96935c3687d7ff56a72340cd9337e29fe6089b 2023-09-12 15:48:21 UTC
child: e22d09505b1c2338935ec858a81a8a661e9f00c9 2023-09-13 11:00:46 UTC
merged-into: 32289fd84e3ba2b119d56e84b616c3067cb8587c 2023-09-12 18:32:12 UTC
tags: core-8-6-branch
comment: Internal routine TclpMatchFiles() was superseded when virtual filesystems were introduced in Tcl 8.4, but
the declaration has lingered on. Remove it. (user: dgp)
check-ins: 35257
Sorry to test with this old compiler. Nevertheless, TCL 8.6 always tried to be compilable with it... Take care, Harald | ||||
| User Comments: | ||||
oehhar added on 2023-09-13 12:42:00:
Thanks, Jan, light speed ! Fix is [122f576e90]. This solves the issue. If you are in compatibility chasing mode, there is one warning left: tclProc.c C:\test\fossil\tcl\tcl_core-8-6-branch\win\..\generic\tclProc.c(2275) : warning C4550: expression evaluates to a function which is missing an argument list </verbatm> Test suite still running. Will report on results. Take care, Harald </p> oehhar added on 2023-09-13 13:03:31:
See ticket [26fd1451b8] for test suite result. I suppose, merging back to core-8-branch and main will be a hassle, as both fixes don't go to those branches. Anyway, thank you ! Harald | ||||
