Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: caa60603f5a3b44ff6eef51ebe1a9382290869b556e7701058ecd6ea1c395736
Ticket: 1e48483c8b3b2702b981ebcc85474512bb3d6e0d
Use of non-standard C code in TCLBOOLWARNING
User & Date: jan.nijtmans on 2024-05-02 08:44:58
Changes

  1. icomment:
    Another attempth [10f1ca98d0145174|here]
    
    I don't think the second check is correct: we want to check here whether the gnu extensions are enabled or not, __STDC_VERSION__ doesn't really help there. The result is now that using -std=c99 actually disables all compile-time checks. We can put in an additional runtime-check as well (which I did now) for this case.
    
    Any idea to check whether the GNU extensions are enabled or not?
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"