Parse errors in winnt.h and winbase.h

Priya Krishnan priya@cowave.com
Wed Aug 29 12:57:00 GMT 2001


Thanks for your response. You were right!!

Priya
-----Original Message-----
From: egor duda [ mailto:deo@logos-m.ru ]
Sent: Wednesday, August 29, 2001 12:24 PM
To: Priya Krishnan
Cc: cygwin@cygwin.com
Subject: Re: Parse errors in winnt.h and winbase.h


Hi!

Wednesday, 29 August, 2001 Priya Krishnan priya@cowave.com wrote:


PK> I have installed cygwin on my win2000 machine. When I use 'make'  to
compile
PK> my source code.I get the following errors.  Is there any patch that I
need
PK> to download.

do not include individual w23api *.h files. this is WRONG. always use
#include <windows.h>

PK>
/usr/bin/gcc -DDEMO -g -w -DDEBUG -D__OPNET__ -DHOST_PC_INTEL_WIN32 -I. -I..
PK> -c -o timer.o timer.c
PK> In file included from /usr/include/w32api/windef.h:145,
PK>                  from C:/Program files/opnet/7.0.B/sys/include/vos.h:52,
PK>                  from C:/Program
files/opnet/7.0.B/sys/include/opnet.h:16,
PK>                  from ../common/opnet_vars.h:4,
PK>                  from timer.c:20:
PK> /usr/include/w32api/winnt.h:1704: parse error before `_ANONYMOUS_STRUCT'
PK> /usr/include/w32api/winnt.h:1707: parse error before `}'
PK> /usr/include/w32api/winnt.h:1709: parse error before `}'
PK> /usr/include/w32api/winnt.h:1710: parse error before `*'

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list