Tcl Source Code

View Ticket
Login
Ticket UUID: 2131090
Title: VC6/VC8 fails when compiling generic\tclFileName.c
Type: Bug Created on: 2008-09-26 21:56:01
Submitter: flatworm Assigned to: vincentdarley
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2008-09-27 19:59:36
Status: Closed Closed by: dkf
Resolution: Duplicate Closed on: 2008-09-27 12:59:36
Version: obsolete: 8.6a3
Description:
Both VC6 and VC8 compilers fail to build the current 8.6 HEAD on Windows XP SP2 32 bit with this error:

tclFileName.c
..\generic\tclFileName.c(2628) : error C2039: 'st_blocks': is not a member of '_stati64'
        c:\opt\vc6\include\sys/stat.h(121) : see declaration of '_stati64'
..\generic\tclFileName.c(2628) : warning C4033: 'Tcl_GetBlocksFromStat' must return a value
..\generic\tclFileName.c(2635) : error C2039: 'st_blksize' : is not a member of '_stati64'
        c:\opt\vc6\include\sys/stat.h(121) : see declaration of '_stati64'
..\generic\tclFileName.c(2635) : warning C4033: 'Tcl_GetBlockSizeFromStat' must return a value