Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d29f239ce16e61481f1cf8a1ec621bf37b4485272279cd679af0d7933cc6f933
Ticket: 1e48483c8b3b2702b981ebcc85474512bb3d6e0d
Use of non-standard C code in TCLBOOLWARNING
User & Date: jan.nijtmans on 2024-05-03 12:38:44
Changes

  1. closedate changed to: "2460434.0269095"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    > The workflow run is now fixed by this:
    
    Not completely ... You didn't adapt the TIP #692 change yet: alias_oc should be changed to Tcl_Size type ;-)
    <pre>
    ./generic/nsf.c: In function ‘GetClassFromObj’:
    ./generic/nsf.c:2244:64: warning: passing argument 5 of ‘tclStubsPtr->tcl_GetAliasObj’ from incompatible pointer type [-Wincompatible-pointer-types]
     2244 |                                &alias_interp, &alias_cmd_name, &alias_oc, &alias_ov);
          |                                                                ^~~~~~~~~
          |                                                                |
          |                                                                int *
    ./generic/nsf.c:2244:64: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’
    </pre>
    
    There are more warnings in tcldom and tclexpat, which are not adapted to Tcl 9. yet. Workaround: compile with CFLAGS=-DTCL_8_API
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"