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]

RE: Parse errors in winnt.h and winbase.h



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/


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