delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/17/05:15:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20021217090754.20936.qmail@web20803.mail.yahoo.com>
Date: Tue, 17 Dec 2002 01:07:54 -0800 (PST)
From: bubba bubba <zangbandman AT yahoo DOT com>
Subject: [bug?] C program won't compile anymore
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hello

Using
W32api 2.1-1
gcc 3.2-3
gcc-mingw 20020817-3

 I get the following when I compile cleanly

[compiling stock zangband-2.7.1
see www.zangband.org]

make -f makefile.std cygwin
gcc -Wall -O2 -g -fno-strength-reduce -W -pedantic
-mno-cygwin -DWINDOWS   -c -o readdib.o readdib.c
In file included from
/usr/include/w32api/windows.h:47,
                 from readdib.c:20:
/usr/include/mingw/stdarg.h:6:24: no include path in
which to find stdarg.h
In file included from /usr/include/mingw/string.h:40,
                 from /usr/include/w32api/winnt.h:37,
                 from
/usr/include/w32api/windef.h:246,
                 from
/usr/include/w32api/windows.h:48,
                 from readdib.c:20:
/usr/include/mingw/stddef.h:6:24: no include path in
which to find stddef.h
In file included from /usr/include/w32api/winnt.h:37,
                 from
/usr/include/w32api/windef.h:246,
                 from
/usr/include/w32api/windows.h:48,
                 from readdib.c:20:
/usr/include/mingw/string.h:52: parse error before
"size_t"
/usr/include/mingw/string.h:53: parse error before
"size_t"

cut out a large number of messages

/usr/include/mingw/string.h:181: ISO C forbids data
definition with no type or storage class
/usr/include/mingw/string.h:182: parse error before
'*' token
/usr/include/mingw/string.h:183: parse error before
'*' token
/usr/include/mingw/string.h:183: parse error before
'*' token
/usr/include/mingw/string.h:183: ISO C forbids data
definition with no type or storage class

cut out a large number of messages

/usr/include/mingw/stdlib.h:418: parse error before
"size_t"
make: *** [readdib.o] Error 1

Bug???

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
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/

- Raw text -


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