in reply to Compiling 5.8.0 on Win2K

I use MingW32 as my dominant C/C++ compiler on Win95.

MingW32 won't compile the Windows OS headers as-is. The problems have to do with wchar_t: this is a built-in type for MingW32, but a typedef (or worse) for MSVC++. I had to do some minor patches before I could compile my math AI project. I suspect the patches would be different for Win2000 than Win95.

Also: what version of MingW32 are you on? Version 2.95.3-6 doesn't have _wfdopen anywhere in its stdio.h. I'd like to know if your version is later than that.

Replies are listed 'Best First'.
Re: Re: Compiling 5.8.0 on Win2K
by Adambomb (Initiate) on Sep 27, 2002 at 17:58 UTC
    Heh, I was using 2.0.0-3's included gcc, I upgraded gcc after getting the responses from podmaster and courage.
    Pretty sure that was the source of my problem, although I haven't tested the upgraded gcc yet since compiling with borlands free command line tools worked fine.


    -----------------------------
    ice cream doesn't have teeth.