[PATCH] D23507: include/math.h: Re-enable missing C++11 decls on SunOS
Michał Górny via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 15 06:08:05 PDT 2016
mgorny created this revision.
mgorny added reviewers: EricWF, mclow.lists.
mgorny added a subscriber: cfe-commits.
The SunOS (tested on OpenIndiana 5.11) C library <math.h> includes
<iso/math_iso.h> which provides declarations for the standard math
routines, both for C and C++(03). However, it lacks the additional
integral variants for C++11 and the additional functions.
Therefore, replace the '#ifndef __sun__' that disables almost all
declarations with disabling the C++03 variants of common functions which
happens to overlap the AIX checks.
Bug: https://llvm.org/bugs/show_bug.cgi?id=28506
https://reviews.llvm.org/D23507
Files:
include/cmath
include/math.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23507.68029.patch
Type: text/x-patch
Size: 11200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160815/77cf10eb/attachment-0001.bin>
More information about the cfe-commits
mailing list