Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 414514639981d4395d5387e926b442e0a9759aca456cc6a83d4446632342fd66
Ticket: 1e48483c8b3b2702b981ebcc85474512bb3d6e0d
Use of non-standard C code in TCLBOOLWARNING
User & Date: jan.nijtmans on 2024-04-29 12:07:06
Changes

  1. closedate changed to: "2460430.00493321"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    > See documentation ...
    
    Unfortunately, documentation doesn't always tell the whole story. Did you try it? I tried it with VS2017:
    <pre>
    tclZlib.c(474): error C2059: syntax error: 'static_assert'
    ...
    </pre>
    
    Most likely, for this feature to work we need Visual Studio 2019 version 16.8 Preview 3 (which added more C11 features), and possibly switches like /std:c11, or installing a special SDK. Conclusion: it's too early to depend on that or make any assumptions. Tcl 8.7/9.0 will support VS2015+
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"