RE: [GD-Windows] Strict ANSI and <windows.h>
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2002-11-02 00:01:06
|
The sucky part of MSVC version 6 (and the Microsoft headers) is that there's no way of getting BOTH conformant language AND <windows.h> at the same time. If you're worrying about the for() scoping problem, then the work-around is to put this in some of your common headers (like StdAfx.h): // work-around for brain-dead MSVC for scoping problem #define for if(0);else for Cheers, / h+ > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...]On Behalf Of > Brian Hook > Sent: Friday, November 01, 2002 1:24 PM > To: gam...@li... > Subject: [GD-Windows] Strict ANSI and <windows.h> > > > I just tried compiling my project with strict ANSI (no language > extensions) enabled in MSVC 6, and since it includes <windows.h> it > barfs violently. > > Is there a workaround for this by any chance? I looked at #pragma and > didn't see anything. > > Brian > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |