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]

Minor compilation warning for <winnt.h>


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


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