Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 30e3178c14bde65d8ae5fa2cb1d3cb792055ea96db4e56b57c4c0eaa11dbe656
Ticket: 6eb8d79cb86f8a16d14a191e5871a3e6672d7a21
segfault in obj-34.1
User & Date: jan.nijtmans on 2024-04-23 05:46:16
Changes

  1. closedate changed to: "2460423.74047137"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    > does an extension also need to call `Tcl_TomMath_InitStubs` (if it uses tommath routines)
    
    The extension needs to call `Tcl_TomMath_InitStubs` if it included `<tclTomMath.h>` (Method 1). It doesn't need to call `Tcl_TomMath_InitStubs` if it includes `<tommath.h>` (Method 2, but the it has to link with the libtommath library itself, `-ltommath`). The extension can freely choose what it wants.
    
    The disadvantage of Method 2 is that the extension loses 8.6-compatibility. Therefore I guess most most extensions will continue to use Method 1.
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"