Overview
| Artifact ID: | 2bb8abe10bf520e545a61e21cc1e6b7068346773 |
|---|---|
| Ticket: | 3110161fffffffffffffffffffffffffffffffff
Extensions using TCHAR don't compile on VS2005 SP1 |
| User & Date: | nijtmans on 2010-11-16 14:51:21 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed 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? - foundin changed to: "obsolete: 8.5.9"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nijtmans"
- subsystem changed to: "52. Portability Support"
- title changed to: "Extensions using TCHAR don't compile on VS2005 SP1"
- type changed to: "Bug"