D 2013-05-22T04:28:05
J icomment >\s\sand\sthat's\show\sMicrosoft\sis\susing\sit\sin\sit's\sown\sheader\sfiles.\sI\sthink\sthat\smingw\sshould\sdo\sthe\ssame.\n\nWe\ssimply\scannot.\s\sWe\ssupport\slegacy\swhile\snewer\sversions\sof\sMSVC\sare\ssupporting\scutting-edge.\s\sIt's\sa\snightmare\seither\sfor\sthe\scompilation,\sthe\slink\sor\sthe\sexecution\sdepending\son\swhat\swe\sdo.\s\sMinGW\sbuilds\sto\s-lmsvcrt\sby\sdefault\ssince\sit\sis\sguaranteed\sto\sbe\son\sthe\ssystem\sas\sthe\ssystem\sC\slibrary;\s\swhile\sMSVC\sbuilds\sto\s-lmsvcr##\sby\sdefault\s(where\s##\sis\sthe\sversion\sused\sby\sthe\scompiler)\ssince\sit\sis\spart\sof\sthe\sproduct.\n\nNow\sthe\sMinGW\suser\scan\sspecify\s-lmsvcr80\sto\sget\sthe\sappropriate\sfunctions\sbut\sthat\sruns\sinto\sknown\scollision\sissues\ssince\smsvcrt.dll\sand\smscvr80.dll\swill\sboth\sbe\sused\sand\sthey\sboth\scontrol\smemory\sindependently\sso\sit\sis\sdiscouraged.\n\nNow\sI\shave\sa\sdilemma\sin\sthat\sI\sneed\sto\ssupport\sat\sleast\sWindows\s2000\sand\sits\sversion\sof\sMSVCRT.DLL\swhich\swill\snot\scontain\sthe\sneeded\sfunctions\sfor\s_USE_32BIT_TIME_T\sand\seven\sif\sthe\sOS\sdoes\ssuch\sas\sVista\sand\sabove\sthe\sMinGW\slibmsvcrt.a\simport\slibrary\sdoesn't\sdefine\sthem\ssince\swe\scannot\sensure\sthat\sthey\sare\scontained\sin\sit.\s\sThe\sMinGW\suser\shas\sa\schoice\sto\suse\sthe\sMSVCRT.DLL\sdirectly\sto\slink\sagainst\sand\sthat\sworks\swhen\sthe\sfunctions\sexist\sin\sit.\n\nI\sneed\sto\sthink\sabout\swhat\swe\swant\sto\sdo\sand\squery\sthe\susers\sto\sdetermine\sbest\scourse\sof\saction\sfor\sMinGW\sbut\ssince\syou've\sincluded\sthe\s_USE_32BIT_TIME_T\smacro\sby\sdefault\syou'll\sneed\sto\sbe\saware\sof\sthe\soptions\sfor\sthe\suser\sand\sdocument\sit.\n\nI've\sattached\sthe\spatch\sI'm\scontemplating.\s\sIt\sadds\sa\swarning\swhen\sMSVCRT_VERSION\sis\snot\s>=\s800\sand\s_USE_32BIT_TIME_T\sis\sdefined.\s\sIt\scurrently\sdefines\s_USE_32BIT_TIME_T\sif\sMSVCRT_VERSION\sis\s>=\s800\sbut\sI\sdon't\sthink\sthat\swill\sstay\ssince\slibmsvcrt.a\sdoesn't\scontain\sthe\simport\sof\sthe\sfunctions.\s\sIt\swill\sdepend\son\sthe\susers\sdesires\safter\sI\sask\sthem\sabout\sit.\n
J login earnie
J mimetype text/plain
J username earnie
K 3571241fffffffffffffffffffffffffffffffff
U earnie
Z 2d07e0445b41e32e7e220e4b08e5e5ad