Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9bd5964be5ecacf848a73552c7b302ff2f3c968d
Ticket: 3571241fffffffffffffffffffffffffffffffff
_USE_32BIT_TIME_T wrong for 32bit __MINGW32__
User & Date: nijtmans on 2012-09-25 20:32:23
Changes

  1. icomment:
    I'm sorry that this causes a regression in mingw, but the fact that it
    compiles fine in older mingw versions, in mingw_w64 and all msvc
    versions tell me that the problem is really in mingw.
    > It is an issue now for MinGW.org because the current repository
    > code, which will soon be released, has the extra guards removed and has
    > exposed the issue
    So, that's where the regression is. mingw shouln't redefine localtime
    to _localtime32 for msvcrt versions where this function doesn't
    exist, independant from the setting of _USE_32BIT_TIME_T.
    In older MSVC headers, _USE_32BIT_TIME_T didn't have
    any effect, so in the mingw headers for MSVCRT < 2005
    the setting of _USE_32BIT_TIME_T should not have any
    effect either. It's an incompatibility with MSVC < 2005
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"