[libcxx-commits] [PATCH] D57729: Add fenv.h header
Eric Fiselier via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 4 18:09:42 PST 2019
EricWF created this revision.
EricWF added reviewers: rsmith, mclow.lists, ldionne.
Herald added subscribers: christof, mgorny.
Some implementations of fenv.h use macros to define the functions they provide. This can cause problems when `std::fegetround()` is spelled in source.
This patch adds a `fenv.h` header to libc++ for the sole purpose of turning those macros into real functions.
Repository:
rCXX libc++
https://reviews.llvm.org/D57729
Files:
include/CMakeLists.txt
include/fenv.h
include/module.modulemap
test/libcxx/depr/depr.c.headers/fenv.pass.cpp
test/libcxx/double_include.sh.cpp
test/libcxx/include_as_c.sh.cpp
test/std/depr/depr.c.headers/fenv_h.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57729.185209.patch
Type: text/x-patch
Size: 9239 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190205/27e2d639/attachment-0001.bin>
More information about the libcxx-commits
mailing list