Unless someone can give me a reasonable counter to Danny's reply below,
I'm not accepting this patch.

Earnie.

-------- Original Message --------
Subject: Re: [MinGW-dvlpr] [Fwd: w32api and gcc -pedantic]
Date: Sat, 14 Apr 2001 07:30:01 +1000 (EST)
From: Danny Smith <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]


--- Earnie Boyd <[EMAIL PROTECTED]> wrote: > What do others
(especially
Danny) on this list think of this patch?
> 
> Earnie.
> 
> -------- Original Message --------
> Subject: w32api and gcc -pedantic
> Date: Fri, 13 Apr 2001 23:10:57 +0400
> From: egor duda <[EMAIL PROTECTED]>
> Reply-To: egor duda <[EMAIL PROTECTED]>
> Organization: deo
> To: [EMAIL PROTECTED]
> 
> Hi!
> 
>   w32api headers currently contain a number of anonymous structs and
> unions. So, gcc prints a bunch of warnings when invoked with -pedantic
> on program which #include <windows.h>. this patch is to avoid those
> warnings.
> 
> egor.            mailto:[EMAIL PROTECTED] icq 5165414 fidonet 2:5020/496.19


My reading of C99 standard (section 6.7.2.1) is that nameless
unions/structures
are now part of standard.  The fix should go into GCC not the mingw
headers. 
GCC -pedantic -std=iso9899:199x should not raise warnings about unnamed
structures; GCC -pedantic -std=iso9899:199409 should.

I think the warnings should stay for now, since they are extensions to
the
currently supported standard.

Danny

_____________________________________________________________________________
http://movies.yahoo.com.au - Yahoo! Movies
- Now showing: Dude Where's My Car, The Wedding Planner, Traffic..

_______________________________________________
MinGW-dvlpr mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/mingw-dvlpr

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to