delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/27/17:12:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AE9CED2.5DAE46CD@freeler.nl>
Date: Fri, 27 Apr 2001 21:56:02 +0200
From: Teun Burgers <a DOT rburgers AT freeler DOT nl>
X-Mailer: Mozilla 4.72 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
Subject: 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019