[Top][All Lists]

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

Re: [Bug-apl] Macintosh compile errors and warnings SVN 583

From: Juergen Sauermann
Subject: Re: [Bug-apl] Macintosh compile errors and warnings SVN 583
Date: Wed, 01 Apr 2015 15:21:59 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


I have changed back to Elias' initial code plus #including unistd.h.

/// Jüergen

On 03/31/2015 11:39 PM, Peter Teeson wrote:
Hi Jürgen:

On 2015-03-31, at 12:53 PM, Juergen Sauermann <address@hidden> wrote:

Peter: Chances are that on your box mkstemp is declared in /usr/include/unistd.h instead of
/usr/include/stdlib.h. If that is so then please let me know and I will revert the code and #include it.

You are correct…..
The following is in /usr/include/unistd.h starting at line701... on my box which is OS X 10.8.5
I also checked OS X 10.9.5 and it's also there in the same file at the same location (+- a few lines).
int mkpath_np(const char *path, mode_t omode) 
__OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_5_0); /* returns errno */
int mkstemp(char *);
int mkstemps(char *, int);
char *mktemp(char *);




reply via email to

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