https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79017
--- Comment #9 from Jeffrey Walton <noloader at gmail dot com> --- (In reply to Jonathan Wakely from comment #2) > (In reply to Jeffrey Walton from comment #0) > > test.cxx:53:21: error: 'llrint' was not declared in this scope > > llrint(0.0); > > ^ > > test.cxx:54:23: error: 'llrintf' was not declared in this scope > > llrintf(0.0f); > > ^ > > test.cxx:55:23: error: 'llrintl' was not declared in this scope > > llrintl(0.0l); > > ^ > > test.cxx:56:22: error: 'llround' was not declared in this scope > > llround(0.0); > > ^ > > test.cxx:57:24: error: 'llroundf' was not declared in this scope > > llroundf(0.0f); > > ^ > > test.cxx:58:24: error: 'llroundl' was not declared in this scope > > llroundl(0.0l); > > ^ > > Because these six functions are missing we treat all C99 math functions as > missing. We could split the checks into two pieces, so we check for these > separately, which would allow the rest of the C99 math library to be > imported into namespace std. This patch for libc++ may be useful to you for OS X 10.6 and below (thanks to KC): https://github.com/jeremyhu/libcxx/commit/720feba4874d4ca3131753dc31af127e3c509c36