[llvm-bugs] [Bug 35274] error: too few arguments provided to function-like macro invocation when C++ function name same with glibc

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 10 14:49:03 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35274

Eli Friedman <efriedma at codeaurora.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |efriedma at codeaurora.org
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Eli Friedman <efriedma at codeaurora.org> ---
libc++ has a wrapper around stdio.h which correctly undefines putc.

Beyond that, clang isn't going to mess with macros defined by your headers. 
File a bug against the C or C++ standard library you're using.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171110/bda23015/attachment.html>


More information about the llvm-bugs mailing list