Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: gcc 3.0 produces broken zsh



Jason Price <jprice@xxxxxxxxxxxxxxxxxxxx> writes:

> Out of morbid curiosity, I built gcc3 and installed it somewhere out of the
> way (like $HOME/gcc3) on my redhat 7.1 linux box.  Then I tried to build
> zsh with it.
> 
> It configured and compiled with hardly any errors.  The only build errors
> were:
> 
> math.c: In function `zzlex':
> math.c:382: warning: operation on `ptr' may be undefined
> utils.o: In function `gettempname':
> utils.o(.text+0x1de2): the use of `mktemp' is dangerous, better use `mkstemp'
> 
> However, when I install it, it doesn't seem to be able to find or load any
> modules.  Building with stock gcc's of the 2.95.* variety work

It seems to work nicely with the compiler we ship, 2.96RH, as well
(downgrading to 2.95? Yick)
 
> Now, I could VERY easily be wrong, but most of the painful changes in gcc3
> are in C++ land

Yes.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.



Messages sorted by: Reverse Date, Date, Thread, Author