Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6c419b899c34fcfdbb3ce23364685f1c21a02f103d17cc45fcd4a98b1e3c9ada
Ticket: 26870862f0e8884eaec02c5a3bbc4caf2431a310
Wrong sentinel in Tcl_SetErrorCode usage
User & Date: jan.nijtmans on 2023-10-20 08:14:25
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/plain"