Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 18 Sep 2001 17:02:27 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [Fwd: Unwanted compiler warnings with w32api] Message-ID: <20010918170227.D5868@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3BA7B59E DOT 1AFB36A2 AT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3BA7B59E.1AFB36A2@yahoo.com> User-Agent: Mutt/1.3.21i I don't understand. This went to the cygwin mailing list, too. Maybe he just bcc'ed you for some reason. cgf On Tue, Sep 18, 2001 at 04:59:10PM -0400, Earnie Boyd wrote: >Check out the To: address and the Sender: address, it came directly to >me. > >Earnie. >From: Shayne Steele >To: cygwin AT cygwin DOT com >Subject: Re: Unwanted compiler warnings with w32api >Date: Tue, 18 Sep 2001 00:50:19 -0400 (EDT) >In-Reply-To: from "Earnie Boyd" at Sep 17, 2001 04:52:16 PM > >> What version of w32api are you using? What is the output of `cat >> /usr/include/w32api/w32api.h'? >> >> Earnie. > >-rw-rw-rw- 1 Fleshy1 root 537620 Sep 15 22:36 w32api-1.1-1.tar.bz2 > >c:\>cat /usr/include/w32api/w32api.h >cat /usr/include/w32api/w32api.h >#ifndef _W32API_H_ >#define _W32API_H_ > >#define __W32API_VERSION 1.1 >#define __W32API_MAJOR_VERSION 1 >#define __W32API_MINOR_VERSION 1 > >#endif /* ndef _W32API_H_ */ > >c:\> > >> > I recently updated to the latest w32api. I compile my >> > programs with gcc and the options '-Wall -W -pedantic', and up until >> > the upgrade have had no warnings. Now I have some 'Extra' warnings >> > >> > In file included from /usr/include/w32api/windef.h:145, >> > from /usr/include/w32api/windows.h:98, >> > from main-win.c:246: >> > /usr/include/w32api/winnt.h:1712: warning: ANSI C doesn't support >> > unnamed structs/unions >> > /usr/include/w32api/winnt.h:1725: warning: ANSI C doesn't support >> > unnamed structs/unions > > -- cgf AT cygnus DOT com Red Hat, Inc. http://sources.redhat.com/ http://www.redhat.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/