Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b9b9dd1f33c4f518c8b9e803f531b9cdf5c640db
Ticket: e14c77b845ee4f52954de716a8b885f7fa9c9980
Compilation error over typedef
User & Date: oehhar on 2016-06-09 07:18:50
Changes

  1. closedate changed to: "2457548.80475453"
  2. closer changed to: "oehhar"
  3. icomment:
    <verbatim>
    > In which header file is ptrdiff_t typedef'd on MSVC6?
    </verbatim>
    
    I made a grep-style search for "ptrdiff_t" on the MS-VC6 include folder 
    <verbatim>
    C:\Program Files (x86)\Microsoft Visual Studio\VC98\Include
    </verbatim>
    
    There is one match: "STDDEF.H"
    
    The snipped defining "ptrdiff_t" is as follows (line 84):
    <verbatim>
    /* define the implementation dependent size types */
    
    #ifndef _PTRDIFF_T_DEFINED
    typedef int ptrdiff_t;
    #define _PTRDIFF_T_DEFINED
    #endif
    </verbatim>
    
    Hope this helps,
    Harald
    
  4. login: "oehhar"
  5. mimetype: "text/x-fossil-wiki"
  6. username: "oehhar"