From: Raimo Ihle <ihle@fokus.gmd.de>
To: zsh-workers@sunsite.auc.dk
Subject: Bug when compiling with CYGWIN (fix included)
Date: Mon, 21 Feb 2000 13:56:25 +0100 [thread overview]
Message-ID: <38B135F9.6F9EC0FD@fokus.gmd.de> (raw)
Hello,
Thank you people for this nice shell. The Pragmatic Programmer Book
advised me to take a look at it. I hope this is the right place to
submit bug reports to.
Just compiled ZSh 3.1.6 which I hope is current, using CYGWIN B20 / NT4
/ egcs 2.91.57.
./configure && make gives:
gcc -c -I. -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes
-O2 -o builtin.o builtin.c
builtin.c: In function `fixdir':
builtin.c:1085: `s0' undeclared (first use in this function)
builtin.c:1085: (Each undeclared identifier is reported only once
builtin.c:1085: for each function it appears in.)
make[2]: *** [builtin.o] Error 1
make[1]: *** [modobjs] Error 2
make: *** [all] Error 1
I suppose this happens because:
builtin.c (1063):
#ifdef __CYGWIN
char *s0 = src;
#endif
builtin.c (1083):
#ifdef __CYGWIN__
/* allow leading // under cygwin */
if (src == s0 && src[1] == '/')
*dest++ = *src++;
#endif
In my cygwin __CYGWIN__ is set, but not __CYGWIN (typo?).
To fix this problem: exchange in line 1063 __CYGWIN for __CYGWIN_ .
Thanks for your effort,
keep up the good work!
Raimo.
reply other threads:[~2000-02-21 12:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38B135F9.6F9EC0FD@fokus.gmd.de \
--to=ihle@fokus.gmd.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).