Skip to content
Tcl Source Code History Of Ticket 3110161fffffffff
Login

History Of Ticket 3110161fffffffff

Artifacts Associated With Ticket 3110161fffffffff

  1. Ticket change [2bb8abe10b] (rid 118789) by nijtmans on 2010-11-16 14:51:21:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      It seems that the TCHAR define is missing from <tchar.h> here.
      
      
      Jeffrey Hobbs mailed about this:
      ======================================================================
      A user was complaining that in moving to 8.5 that they get errors on TCHAR not being defined when building extensions against Tcl using VS2005 SP1.
      
      In particular, the user application includes "tcl.h", but not the "windows.h". After they add the "windows.h" header, the error is gone.  However, this wasn't needed for 8.4 and I can't find any reference to this being a marked change in expected behavior.  They traced it down to the removal of this from tclPlatDecls.h in 8.5 (was in 8.4):
      
       #   if defined(_MSC_VER) && defined(__STDC__)
               /* MSVC++ misses this. */
               typedef _TCHAR TCHAR;
       #   endif
      
      I can't repro this behavior, but we have only MSVC6 or VS2008.  Does this ring any bells?  Is this user error somewhere else, or am I missing something about header behavior that we should doc?
      
    4. foundin initialized to: "obsolete: 8.5.9"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "52. Portability Support"
    11. title initialized to: "Extensions using TCHAR don't compile on VS2005 SP1"
    12. type initialized to: "Bug"
  2. Ticket change [aad52ffd77] (rid 100990) by nijtmans on 2010-11-16 22:07:47:

    1. closedate changed to: "2010-11-16T15:07:47"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      Fixed in HEAD and tcl8.5 branch
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "nijtmans"