bug-apl
[Top][All Lists]
Advanced

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

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


From: Christian Robert
Subject: Re: [Bug-apl] compile error location of malloc.h
Date: Mon, 29 Aug 2016 02:14:31 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

agreed.

Xtian.

On 2016-08-29 02:02, Elias Mårtenson wrote:
On 29 August 2016 at 13:58, Christian Robert <address@hidden 
<mailto: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).

Regards,
Elias




reply via email to

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