This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Minor compilation warning for <winnt.h>
- To: cygwin at sources dot redhat dot com
- Subject: Minor compilation warning for <winnt.h>
- From: Teun Burgers <a dot rburgers at freeler dot nl>
- Date: Fri, 27 Apr 2001 21:56:02 +0200
Hi
If you compile the following program
#include <windows.h>
#include <stdio.h>
main () {
printf("HW\n");
}
with gcc -mno-cygwin -Wmissing-prototypes using cygwin 1.3.1
and w32api as for April 24, 2001,
you get the following warning:
In file included from /usr/include/w32api/windef.h:145,
from /usr/include/w32api/windows.h:98,
from zz.c:1:
/usr/include/w32api/winnt.h:2503: warning: no previous prototype for
`GetCurrentFiber'
/usr/include/w32api/winnt.h:2514: warning: no previous prototype for
`GetFiberData'
To make this compile cleanly I guess prototypes for both functions must
be added
regards
Teun Burgers
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple