zsh-workers
 help / color / mirror / code / Atom feed
* Zoltan's release doesn't compile on sunos 4.1.2 with zsh mem
@ 1995-10-06 19:53 Carlos Carvalho
  1995-10-06 20:07 ` Zoltan Hidvegi
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Carvalho @ 1995-10-06 19:53 UTC (permalink / raw)
  To: Zsh hackers list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Zoltan's release doesn't compile on sunos 4.1.2 with zsh mem
  1995-10-06 19:53 Zoltan's release doesn't compile on sunos 4.1.2 with zsh mem Carlos Carvalho
@ 1995-10-06 20:07 ` Zoltan Hidvegi
  0 siblings, 0 replies; 2+ messages in thread
From: Zoltan Hidvegi @ 1995-10-06 20:07 UTC (permalink / raw)
  To: Carlos Carvalho

> 
> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-10-06 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-10-06 19:53 Zoltan's release doesn't compile on sunos 4.1.2 with zsh mem Carlos Carvalho
1995-10-06 20:07 ` Zoltan Hidvegi

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).