Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7cd7441c2f94956bf28e0d313cab7ad4c10ee8441b20cc37c75d931355ceabc1
Ticket: 8ab8a138c9156e5a5a4a386310c6fd11608b8805
Functions passed to Tcl_EventuallyFree() must be declared/defined as Tcl_FreeProc
User & Date: jan.nijtmans on 2023-10-13 14:23:23
Changes

  1. icomment:
    > …Currently, I believe it would be better to not suppress those compile-time complaints, particular
    
    Would it be possible to disable those when doing your UBSan tests? There's a lot of code out there (e.g. Tk, Itcl) which uses this feature, UBSan just reports false-positives for them. As it is now, they can use whatever pointer-type without warning. In Tcl 9.0, the pointer type changes to "void *", there we want the full UBSan warnings, but for 8.x it really doesn't matter much to chase this.
    
    Thanks for all your efforts! I see the point!
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/plain"