[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] compile error location of malloc.h

From: Elias Mårtenson
Subject: Re: [Bug-apl] compile error location of malloc.h
Date: Mon, 29 Aug 2016 14:02:12 +0800

On 29 August 2016 at 13:58, Christian Robert <address@hidden> wrote:
On 2016-08-29 01:21, Elias Mårtenson wrote:
They are, but if they are not found in the local directory, they are also searched for in the system directories.

and if so, why did the compiler didn't find "malloc.h" ?  was not at all in system defaults ? (don't know at all about OS X)

Because he has to use <malloc/malloc.h>. That said, if you want to just use malloc then you should include <stdlib.h>. malloc.h is when you want to access non-standard low-level memory allocation details (such as statistics or debugging options).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]