Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c392ad9b94c5bdf5c6cca6bd91ea65d6688ba3a779aaaa38b1140d432e9eee02
Ticket: a1f11d96b85e77596416d216123db095002861c5
VC6 compilation error of core-8-6-branch: error C2065: 'int16_t' : undeclared identifier
User & Date: oehhar on 2023-09-13 11:32:00
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    When compiling current core-8-6-branch with MS-VC6++, PSDK2003SP2, 32bit on Windows 10 64bit GER, I get the following error messages:
    
    <verbatim>
    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
    </verbatim>
    
    Here is the fossil info:
    
    <verbatim>
    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
    </verbatim>
    
    Sorry to test with this old compiler.
    Nevertheless, TCL 8.6 always tried to be compilable with it...
    
    Take care,
    Harald
    
  5. foundin changed to: "core-8-6-branch"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "56. LibTomMath"
  15. title changed to:
    VC6 compilation error of core-8-6-branch: error C2065: 'int16_t' : undeclared identifier
    
  16. type changed to: "Bug"