[PATCH] [libc++] Support newlib as libc++'s C library
JF Bastien
jfb at chromium.org
Mon Dec 16 16:54:16 PST 2013
Fix issues that LLVM's libc++ test suite finds when setting newlib as
the C library:
- Work around newlib's limited locale support (which AFAICT is allowed in C).
- Teach libc++ about the rest of newlib's locale support.
- Work around newlib's limited support for long double (expecting it
to be double when supported at all).
- Undefine clearerr/feof/ferror (C allows these to be macros).
Note that newlib also needs changes to update its C99/C11/C++11
support, I'm sending a separate patch to the newlib at sourceware.org
mailing list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib.patch
Type: text/x-patch
Size: 10175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131216/3de0e404/attachment.bin>
More information about the cfe-commits
mailing list