Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2565066ac379d973448f0436719e576541674c0b80078167f2d7f169cc00827e
Ticket: 4663e0636f7a24b9363e67c7a3dd25e9e495be17
TIP 538 and Tcl extensions: 'tommath.h' file not found
User & Date: mr_calvin on 2020-05-17 23:00:45
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    We noticed that since TIP 538 became integrated into core-8-branch, our NSF builds started failing because tommath.h cannot be picked up anymore. [*]
    
    > In file included from ./generic/nsf.c:16655:
    >
    > /home/travis/tcl/generic/tclTomMath.h:11:10: fatal error: 'tommath.h' file not found
    >
    > #include "tommath.h"
    
    NSF includes tclTomMath.h explicitly, to access mp_int at one spot.
    
    TIP 538 advertises that Tcl extensions should be able to include either tommath.h directly, or tclTomMath.h (as NSF does). 
    
    How should an extension properly include tclTomMath.h (which unconditionally includes tommath.h) when built against a Tcl core not using a systemwide libtommath? Apparently, tommath.h is not provided to extensions that way (anymore)?
    
    Thank you!
    
  5. foundin changed to: "core-8-branch"
  6. is_private changed to: "0"
  7. login: "mr_calvin"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "d4d1d8192a46acf2c7d58cddc1040ecdbc9c9d77"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "mr_calvin"
  14. subsystem changed to: "56. LibTomMath"
  15. title changed to:
    TIP 538 and Tcl extensions: 'tommath.h' file not found
    
  16. type changed to: "Bug"