Skip to content
Tcl Source Code Artifact [93f09fb133]
Login

Artifact [93f09fb133]

Artifact 93f09fb1333c970ce05c94b192cf3bc698a38f24:

Ticket change [93f09fb133] - Ticket [3571241fffffffff|3571241fff] <i>_USE_32BIT_TIME_T wrong for 32bit __MINGW32__</i> status still Open with 4 other changes by earnie on 2012-09-25 19:25:40.
D 2012-09-25T19:25:40
J icomment I\sdownloaded\sthe\slatest\spackage\s8.5.12.\s\sI\sused\sthe\stcl\spackage\sto\stest\schanges\sI\sam\smaking\sto\sthe\sMinGW.org\smingwrt\sand\sw32api\ssource\sbefore\sI\sdistribute\sthem.\n\nThe\sproblem\sis\sthat\s_USE_32BIT_TIME_T\sis\sset\sexplicitly\sin\stclWinPort.h\sas\sdelivered.\s\sThe\sfunctions\senabled\sby\s_USE_32BIT_TIME_T\sdo\snot\sexist\sin\sthe\sMSVCRT.DLL.\s\s_WIN64\sdoesn't\shave\sthe\sfunctions\sat\sall\sso\sthere\sis\sa\sguard\sto\snot\sdefine\s_USE_32BIT_TIME_T.\s\s_WIN32\shas\sthe\sfunctions\sbut\sonly\sin\sa\snon-standard\sDLL.\n\nThe\sproblem\soccurs\sduring\slinking\swith\sld\scomplaining\sabout\sunresolved\ssymbols\sfor\s__localtime32,\s__mktime32\sand\s__gmtime32.\s\sThey\sare\sunresolved\sbecause\slibmsvcrt.a\sdoes\snot\scontain\sthe\ssymbols.\s\sThese\ssymbols\sare\sused\sbased\son\s_USE_32BIT_TIME_T\sin\sinclude/time.h\swhen\swe\screate\san\salias\sfunction\sof\slocaltime,\smktime\sand\sgmtime\srespectively.\n\nNow,\swith\sthe\scurrent\srelease\sof\sw32api\sthis\smay\snot\shave\sbeen\san\sissue\sbecause\sthere\swere\ssome\sextra\snonsense\s(IMO)\sguards\swhich\sprevented\sthe\suse\sof\sthese\ssymbols\seven\swhen\s_USE_32BIT_TIME_T\swas\senabled.\s\sWith\sMSVC\sit\swouldn't\scause\san\sissue\sbecause\sthe\sDLL\sused\sby\sit\swould\scontain\sthese\ssymbols.\s\sIt\sis\san\sissue\snow\sfor\sMinGW.org\sbecause\sthe\scurrent\srepository\scode,\swhich\swill\ssoon\sbe\sreleased,\shas\sthe\sextra\sguards\sremoved\sand\shas\sexposed\sthe\sissue.\s\sThe\sissue\sis\sthat\sMSVCRT.DLL\sdoes\snot\scontain\sthe\sfunctions\senabled\sby\s_USE_32BIT_TIME_T.\n
J login earnie
J mimetype text/plain
J username earnie
K 3571241fffffffffffffffffffffffffffffffff
U earnie
Z 91134182b47188a027565a52aa25ad1b