[LLVMdev] POSIX compliance

Valery A.Khamenya khamenya at mail.ru
Wed Sep 1 09:11:45 PDT 2004


/lib/System/platform/Path.cpp is not compilable under Cygwin 
(although it was motivated to be for Cygwin...):
-----------------------------------
Compiling Path.cpp
In file included from Path.cpp:37:
platform/Path.cpp: In static member function `static llvm::sys::Path 
   llvm::sys::Path::GetTemporaryDirectory()':
platform/Path.cpp:41: error: `mkdtemp' undeclared (first use this function)
-----------------------------------

The problem is probably that mkdtemp is not POSIX:
https://catamaran.labs.cs.uu.nl/jira/browse/STR-134?page=all

BTW, another problem I got under cygwin is absence of 'pax'
utility.

--
Valery




More information about the llvm-dev mailing list