Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9e9a0daf9947c6aeecc59aa5ca0e8fcb8454f0b74e9eee0d6ece116f7e07d801
Ticket: 1e48483c8b3b2702b981ebcc85474512bb3d6e0d
Use of non-standard C code in TCLBOOLWARNING
User & Date: gustafn3 on 2024-04-30 14:07:03
Changes

  1. closer changed to: "nobody"
  2. icomment:
    One can improve the situation when adding "&& __STDC_VERSION__ > 199901L" 
    appended to the first two clauses of the TCLBOOLWARNING macro.
    
    This works without any warnings on recent macOS with and without e.g. -std=c99 (tested with standard macOS compiler and e.g. clang-mp-17).
    
    Compiling with gcc (gcc-mp-12 or gcc-mp-13) leads to an error, but looks to me as a mess-up in the interplay of mac-ports if the newest MacOSX.sdk.
    
  3. login: "gustafn3"
  4. mimetype: "text/plain"
  5. status changed to: "Open"