Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zoltan's release doesn't compile on sunos 4.1.2 with zsh mem
- X-seq: zsh-workers 427
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: carlos@xxxxxxxxxxxxxxxx (Carlos Carvalho)
- Subject: Re: Zoltan's release doesn't compile on sunos 4.1.2 with zsh mem
- Date: Fri, 6 Oct 1995 21:07:22 +0100 (MET)
- In-reply-to: <199510061953.QAA26714@xxxxxxxxxxxxxxxx> from "Carlos Carvalho" at Oct 6, 95 04:53:08 pm
- Sender: hzoli@xxxxxxxxxx
>
> If you enable zsh's mem routines mem.c doesn't compile under sunos
> 4.1.2 and Sun's acc compiler. It claims that malloc, free, etc. are
> being redeclared.
>
> A long time ago this worked, but not for gcc. Now it works with gcc
> but...
>
> Carlos
I did not modify anything related to mem.c. Probably the MALLOC_RET_T is
wrongly defined in mem.c e.g. because _BSD is not defined or STDC_HEADERS is
defined. Under SunOS 4.1.2 malloc returns (char *). But ZSH_MEM is only
needed for developers, and thay probably have gcc (if they do not have, it's
better to compile one as soon as possible).
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author