This is the mail archive of the
mailing list for the Cygwin project.
Cygwin and NetHack - strncasecmp compile error
- From: Brian Rowe <schwaa98 at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 30 Sep 2002 15:54:38 -0700 (PDT)
- Subject: Cygwin and NetHack - strncasecmp compile error
I am trying to compile nethack on cygwin. If it done
let me know, and I will quite, but I haven't found it.
In /usr/include/string.h the function strncasecmp is
defined. This conflicts with line 688 in extern.h in
the cygwin files.
I want to resolve that, conflict, My C is rusty, like
5 years ago.
int _EXFUN(strcasecmp,(const char *, const char *));
E int FDECL(strncmpi, (const char *,const char
I don't understand why these lines conflict. Here is
the error message:
gcc -O -I../include -c -o hacklib.o hacklib.c
In file included from ../include/hack.h:107,
../include/extern.h:688: conflicting types for
/usr/include/string.h:65: previous declaration of
make: *** [hacklib.o] Error 1
Any thoughts on how I start to resolve this?
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html