[Fwd: w32api and gcc -pedantic]]

Earnie Boyd earnie_boyd@yahoo.com
Mon Apr 16 06:25:00 GMT 2001

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


-------- Original Message --------
Subject: Re: [MinGW-dvlpr] [Fwd: w32api and gcc -pedantic]
Date: Sat, 14 Apr 2001 07:30:01 +1000 (EST)
From: Danny Smith <danny_r_smith_2001@yahoo.co.nz>
Reply-To: mingw-dvlpr@lists.sourceforge.net
To: mingw-dvlpr@lists.sourceforge.net

--- Earnie Boyd <earnie_boyd@yahoo.com> wrote: > What do others
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 <deo@logos-m.ru>
> Reply-To: egor duda <cygwin-patches@cygwin.com>
> Organization: deo
> To: cygwin-patches@cygwin.com
> 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:deo@logos-m.ru icq 5165414 fidonet 2:5020/496.19

My reading of C99 standard (section is that nameless
are now part of standard.  The fix should go into GCC not the mingw
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
currently supported standard.


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

MinGW-dvlpr mailing list

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

More information about the Cygwin-patches mailing list