Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 90a04351b5b2f1df3f99931e61670fba91b64a14f4cec0a9e08866b4a25bf972
Ticket: c9759399735f1979a2e7931fd9f00da20f2fbb7e
Usage of gnu_printf in latest mingw-w64
User & Date: anonymous on 2021-01-04 22:18:44
Changes

  1. closer changed to: "nobody"
  2. icomment:
    The right fix for this issue it not forcing -D__USE_MINGW_ANSI_STDIO=0 (which brings in its own problems), but doing the right thing when -D__USE_MINGW_ANSI_STDIO=1. This patch achieves that:
    
    
    diff -Naur tcl8.6.5-orig/win/tclWinInt.h tcl8.6.5/win/tclWinInt.h
    --- tcl8.6.11-orig/win/tclWinInt.h	2016-02-25 23:12:38.000000000 +0300
    +++ tcl8.6.11/win/tclWinInt.h	2016-03-03 08:47:51.129171100 +0300
    @@ -57,7 +57,7 @@
     #ifndef TCL_Z_MODIFIER
     #   ifdef _WIN64
     #	if defined(__USE_MINGW_ANSI_STDIO) && __USE_MINGW_ANSI_STDIO
    -#         define TCL_Z_MODIFIER        "ll"
    +#         define TCL_Z_MODIFIER        "I64"
     #	else
     #         define TCL_Z_MODIFIER        "I"
     #	endif
    
  3. login: "anonymous"
  4. mimetype: "text/plain"
  5. resolution changed to: "None"
  6. status changed to: "Open"