This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Parse errors in winnt.h and winbase.h
- To: "Priya Krishnan" <priya at cowave dot com>
- Subject: Re: Parse errors in winnt.h and winbase.h
- From: egor duda <deo at logos-m dot ru>
- Date: Wed, 29 Aug 2001 23:24:03 +0400
- CC: cygwin at cygwin dot com
- Organization: deo
- References: <000101c130bd$46850740$8b02a8c0@PRIYACOWAVE>
- Reply-To: egor duda <cygwin at cygwin dot com>
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/