Minor compilation warning for <winnt.h>
Teun Burgers
a.rburgers@freeler.nl
Fri Apr 27 12:55:00 GMT 2001
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
More information about the Cygwin
mailing list