Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: 3.1.5-pws-4: compilation warnings
- X-seq: zsh-workers 4931
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: PATCH: 3.1.5-pws-4: compilation warnings
- Date: Wed, 20 Jan 1999 16:34:12 +0100
This very dull patch suppresses a lot of compilation warnings from gcc
including the new ones from gcc 2.8. I've tried it on OSes with both
char signed and unsigned to track down warnings about char subscripts.
One of the dangling `else' branches in hist.c actually appeared to be
a bug, with the logic not agreeing with the indentation.
The principle thing it doesn't do is tackle `might be used
uninitialized' warnings in the completion code. There are also (with
gcc 2.8) still `might be clobbered by longjmp' warnings in zftp.c,
because I don't understand why they're appearing as the variables
aren't accessed after a longjmp. With debugging turned on, you still
get the warnings that ANSI forbids variable length arrays, which is
due to gcc -pedantic recognising GNU extensions but complaining.
I expect to produce a pws-5 version soon. I was hoping to include
Sven's new completion commands in this. However, there are problems
with dynamical loading, since the compctl library now expects to
access code in the zle library, which on a lot of systems doesn't
work. There's too much code to shift to the comp1 library, so it will
probably require a few extra hooks in comp1 along the lines of
printcompctlptr. I don't know if I'll be able to look at that soon
enough.
begin 644 brace.dif.gz
M'XL("%7CI38``V)R86-E+F1I9@#M.VM7VTBRG\FO:,A);/E!+/EM#YDA8`;/
M@.%@,]E)PO&191EKD"6/'B0PD_WM6U7=+;5D0W)W]]Y/EYG0=C^JJZNJZ]E4
MJU4V#JPW[V+'C1PO?!.XSLJ)PGUK?Q:8EKTS6<;LV+:8WF:ZT=/;O9K.]&ZW
M\Z)<+C^Q<F<2V^P7TX-Y3*_WZJU>HX5KNB]^^HE5C5:CTF9EWOSTTPNVP_"G
MQ"+_UHZ6=L!6?F"S:`D`?,]F_@(^VZ&]S]@P*H3,-D,')D4^B[VY'821Z<W9
M(O!7K*3`6MK,\N=VC_V;/Z4W`MB]Z;(#]AA&0>3C":-B6&&OX9]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