[cfe-dev] [LibC++] Incompatibility between '<stdio.h> from LibC++ v5.0's ' Newlib v2.5.0, and a workaround/fix
Friedman, Eli via cfe-dev
cfe-dev at lists.llvm.org
Thu Sep 21 11:35:39 PDT 2017
On 9/21/2017 8:07 AM, ORiordan, Martin via cfe-dev wrote:
>
> I have been working on stabilising our out-of-tree sources following
> the upgrade to the v5.0 Final Release, and came across an
> incompatibility between the ‘<stdio.h>’ provided with Newlib v2.5.0
> and the one provided with LibC++ v5.0.
>
> The problem is how LibC++ handles the ‘getc’ and ‘putc’
> implementations, and if these are defined it uses a shim, then
> ‘#undef’s the original, and redefines them as functions.
>
Please specify which file, on which branch, you're talking about. As far
as I can tell, libc++ hasn't included a wrapper for putc since r249475
(roughly two years ago).
-Eli
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170921/3d9accbd/attachment.html>
More information about the cfe-dev
mailing list