At 10:00 PM -0600 12/27/02, Bruce Gray wrote:
[cc'ed to Brent Dax for his specific attention]

On Fri, 27 Dec 2002 20:34:33 -0500, "Dan Sugalski" wrote:
At 1:22 AM +0000 12/27/02, Bruce Gray (via RT) wrote:
The gcc compiler in MinGW (win32) emits warnings for invalid
pragmas in win32.h (platform.h).
This patch uses '#ifndef __GNUC__' to hide the pragmas from gcc.
Nope--there are more compilers that aren't gcc than just MinGW.
Is there a MinGW specific #define that can be tested instead?
Could you take a second look at the patch? Your comments
sound like you think I want to:
	"hide the pragmas from gcc, but let MinGW see them"
when really I want to:
	"hide the pragmas from gcc (which is the same as
	MinGW in this case)"
Yeah, I misunderstood--I thought you had those #ifndefs in there to make something visible to the MinGW stuff, not to hide it.

Since those #pragmas are in there for particular compilers, I'd like to find out what #defines are around so we can expose them only to the compilers that care. Brent, can you dig that up?
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk

Reply via email to