This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Unwanted compiler warnings with w32api


> 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


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]