<div dir="ltr">Hi All,<div><br></div><div>libc++ assumes an underlying C library to provide lower level functionalities (and sometimes even other libraries like pthreads).</div><div><br></div><div>My question is, is there a minimum C standard required from the C library? I couldn't find this documented anywhere.</div><div><br></div><div>For example, the current std::thread support (C++11) does not assume the underlying C library to be C11 compliant, it instead depends on pthreads. On the other hand, we do seem to assume a C11 compliant <ctime> header (e.g. timespec).</div><div><br></div><div>This works OK for us at the moment (bits of C11 but mostly C99), but I'd like to get the general policy towards the C standard clarified.</div><div><br></div><div>I plan to update <a href="http://libcxx.llvm.org/index.html">http://libcxx.llvm.org/index.html</a> with the outcome of this discussion.</div><div><br></div><div>Thanks!<br><br></div><div>/ Asiri</div></div>