[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: Elias Mårtenson
Subject: Re: [Bug-apl] Macintosh compile errors and warnings SVN 583
Date: Wed, 1 Apr 2015 13:50:30 +0800

I would much rather completely eliminate the use of the temporary file here. The reason it's used is so that I can use InputFile::files_todo.insert() on it.

Is there an alternative method by which I can queue a bunch of input lines to be read by the interpreter?


On 1 April 2015 at 05:39, Peter Teeson <address@hidden> 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]