|
2020-09-29
| ||
| 07:50 | • Deleted ticket [59544cc456]: Branch trunk: build error "statBuf' uses u... artifact: ce9500afa8 user: oehhar | |
|
2020-09-28
| ||
| 16:36 | • Pending ticket [59544cc456]. artifact: 80cf1bb858 user: jan.nijtmans | |
| 15:49 | • New ticket [59544cc456]. artifact: 43fffcd615 user: oehhar | |
Branch trunk: build error "statBuf' uses undefined struct" on MS-VC 6
Deleted59544cc4566c447ffd45850caf541b836aa0865aCreated 6 years agoUpdated 6 years ago
Descriptionwiki2020-09-28 15:49:12
I tried today to build [f205897f50b1b360db9b75ed0bef80076d363139] and got the following error:
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(2085) : error C2079: 'statBuf' uses undefined struct '__stat64'
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(2088) : warning C4133: 'function' : incompatible types - from 'int *' to 'struct __stat64 *'
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(2089) : error C2224: left of '.st_mtime' must have struct/union type
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(3926) : error C2027: use of undefined type '__stat64'
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tcl.h(311) : see declaration of '__stat64'
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(3928) : error C2037: left of 'st_mode' specifies undefined struct/union '__stat64'
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(3930) : error C2037: left of 'st_mode' specifies undefined struct/union '__stat64'
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(3932) : error C2037: left of 'st_size' specifies undefined struct/union '__stat64'
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(3933) : error C2037: left of 'st_mtime' specifies undefined struct/union '__stat64'
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(3934) : error C2037: left of 'st_ctime' specifies undefined struct/union '__stat64'
C:\test\tcl8.6_core-8-6-branch\win\..\generic\tclZipfs.c(3935) : error C2037: left of 'st_atime' specifies undefined struct/union '__stat64'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
This is MS-VC 6 32bit (again).
Sorry, Harald
jan.nijtmanswiki2020-09-28 16:36:04
Well, that commit is on "trunk", not "core-8-6-branch".
trunk indeed doesn't compile on MS-VC-6, and since it uses 64-bit time_t and struct stat it's problematic to make it work on that old compiler. Unfortulately .... But core-8-6-branch (8.6) and core-8-branch (8.7) should work fine.
I changed the title to mention "trunk", but if there are problems on core-8-6-branch or core-8-branch, then let us know.
oehharplain2020-09-29 07:50:10
Thank you. My fault, sorry. Fossil mis-manipulation...
Log in (anonymous is fine) to add a comment.