Dimitri Papadopoulos-Orfanos wrote:
>> Since we cannot copy Microsoft headers, we are adding macros on a
>> test-and-add basis. Nothing prevents you from submitting a patch for
>> macros you want, though, as long as you provide MSDN documentation why
>> the patch is needed :-).
> The documentation for _tpgmptr is on the very page you were referring
> to! I'm now doubting you've found about _TEOF in the MSDN documentation
> page instead of the Microsoft headers...
I was talking about the standard procedure to submit a patch. The patch
should be against the CVS, but not on another's patch.
I did not check everything on Microsoft's page. Really I first checked
it in my local MSDN documentation and then googled for an online link
(and just glimpsed at it to see _TEOF was documented). I was solving my
compilation problems, but not trying to implement everything in
Microsoft's page into MinGW. And rechecking my local (very old) MSDN
documentation shows that the page that mentions _TEOF does not mention
_tpgmptr at all. Really the function did not exist in MSVC 6, and I had
not known what it did (_pgmptr, _wpgmptr, and _tpgmptr) before you
If I had diffed with Microsoft headers, I believe I could have found a
lot more other stuff. Since I was just searching for a reference, and I
saw _tenviron was already in the MinGW header (though crippled), I did
not realize that _tpgmptr was missing at all.