Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f91019b8f56190d5a9fa9b4e281eb0e1fe53b96a9564cb043f5025b734de7bd0
Ticket: 26870862f0e8884eaec02c5a3bbc4caf2431a310
Wrong sentinel in Tcl_SetErrorCode usage
User & Date: jan.nijtmans on 2023-10-20 08:14:48
Changes

  1. icomment:
    @gustaf wrote:
    > If there is interest, i can provide a fixed branch for such issues
    
    See: [234ff497c44f843c]. All such occurrences of "NULL" have been replaced now by (void *)NULL, exactly for the reason you mention: NULL is non-portable in this situation.
    
    I never saw this problem on any C-compiler, but I saw it happen in C++ with clang-8.0.1.
    
    Hope this helps,
          Jan Nijtmans
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"