Unwanted compiler warnings with w32api

Earnie Boyd earnie_boyd@yahoo.com
Mon Sep 17 13:52:00 GMT 2001


mailbox:/C|/Program
Files/Netscape/Users/earnie_boyd/Mail/Inbox.sbd/Cygwin.sbd/Cygwin
Users?id=1000756849.23745.ezmlm%40sources.redhat.com&number=4087398&part=1.2

What version of w32api are you using?  What is the output of `cat
/usr/include/w32api/w32api.h'?

Earnie.


To : cygwin at cygwin dot com
Subject : Unwanted compiler warnings with w32api
>From : Shayne Steele <steele at cs dot fsu dot edu>
Date : Mon, 17 Sep 2001 12:23:36 -0400 (EDT)

Hello

        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

These warnings are annoying.  I just want my own program's warnings not
the w32api warnings.  Last October I complained about the same thing
and someone 'fixed' what needed fixing, and up until now all my
compilations have been warning free (well... at least warning free on 
code I did not write).

-- 
Shayne Steele	    Graduate Student in Computer Science at FSU
steele@cs.fsu.edu   http://www.cs.fsu.edu/~steele/
With great abilities come great responsibilities. -- Stan Lee



More information about the Cygwin mailing list