From: Mark Borges <mdb@cdc.noaa.gov>
To: Irving Wolfe <irving@WOLFE.net>
Cc: zsh-workers@math.gatech.edu
Subject: Re: Beta 18 Compilation Problem Under Nextstep 3.3
Date: 21 May 1996 17:36:12 -0600 [thread overview]
Message-ID: <vkrasdwqdv.fsf@cdc.noaa.gov> (raw)
In-Reply-To: Irving Wolfe's message of Tue, 21 May 1996 14:47:13 -0700 (PDT)
>> On Tue, 21 May 1996 14:47:13 -0700 (PDT),
>> Irving Wolfe(IW) wrote:
IW> cc -c -I.. -I. -I. -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O -pipe builtin.c
IW> builtin.c: In function `bin_kill':
IW> builtin.c:662: `sigs' undeclared (first use this function)
I had the same problem under Solaris-2.5 (but it's not an OS bug).
I tracked it down to the change made to signames.awk, which on my
system is interpreted by mawk,
$ mawk -Wv
mawk 1.2.2 Jan 1996, Copyright (C) Michael D. Brennan
which generated a bogus signames.h file.
Anyway, I backed out the change (why is it necessary to escape the
`#else'?) and it worked fine.
The only thing SUNWspro's cc complains about now is stuff like:
----------------------------------------
"hashtable.c", line 233: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "./utils.pro", line 85
argument : pointer to char
----------------------------------------
Good luck.
*** signames.awk Mon May 20 06:40:00 1996
--- ../../zsh-2.6-beta17/Src/signames.awk Mon May 6 08:08:58 1996
***************
*** 1,5 ****
#
! # $Id: signames.awk,v 2.1 1996/05/20 01:24:24 hzoli Exp $
#
# {g,n}awk script to generate signals.h
# provided by Geoff Wing <mason@werple.apana.org.au>
--- 1,5 ----
#
! # $Id: signames.awk,v 2.0 1996/05/02 22:57:04 hzoli Exp $
#
# {g,n}awk script to generate signals.h
# provided by Geoff Wing <mason@werple.apana.org.au>
***************
*** 52,58 ****
END {
ps = "%s"
! ifdstr = sprintf("#ifdef USE_SUSPENDED\n\t%csuspended%s%c,\n\#else\n\t%cstopped%s%c,\n#endif\n", 034, ps, 034, 034, ps, 034)
printf("%s\n%s\n\n%s\t%d\n\n%s\n\n%s\n\t%c%s%c,\n", "/** signals.h **/", "/** architecture-customized signals.h for zsh **/", "#define SIGCOUNT", max, "#ifdef GLOBALS", "char *sigmsg[SIGCOUNT+2] = {", 034, "done", 034)
--- 52,58 ----
END {
ps = "%s"
! ifdstr = sprintf("#ifdef USE_SUSPENDED\n\t%csuspended%s%c,\n#else\n\t%cstopped%s%c,\n#endif\n", 034, ps, 034, 034, ps, 034)
printf("%s\n%s\n\n%s\t%d\n\n%s\n\n%s\n\t%c%s%c,\n", "/** signals.h **/", "/** architecture-customized signals.h for zsh **/", "#define SIGCOUNT", max, "#ifdef GLOBALS", "char *sigmsg[SIGCOUNT+2] = {", 034, "done", 034)
***************
*** 87,93 ****
print "\tNULL"
print "};"
print ""
! print "\#else"
print "extern char *sigs[SIGCOUNT+4],*sigmsg[SIGCOUNT+2];"
print "#endif"
}
--- 87,93 ----
print "\tNULL"
print "};"
print ""
! print "#else"
print "extern char *sigs[SIGCOUNT+4],*sigmsg[SIGCOUNT+2];"
print "#endif"
}
--
-mb-
next prev parent reply other threads:[~1996-05-21 23:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-21 21:47 Irving Wolfe
1996-05-21 23:36 ` Mark Borges [this message]
1996-05-22 0:45 ` Johan Danielsson
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=vkrasdwqdv.fsf@cdc.noaa.gov \
--to=mdb@cdc.noaa.gov \
--cc=irving@WOLFE.net \
--cc=zsh-workers@math.gatech.edu \
/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).