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

            Bug ID: 35274
           Summary: error: too few arguments provided to function-like
                    macro invocation when C++ function name same with
                    glibc
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: lesliez...@llvm.org.cn
                CC: llvm-bugs@lists.llvm.org

Hi LLVM developers,

platform/Stream.h:48:19: error: too few arguments provided to function-like
macro invocation
    int putc(int c);                                                            
                  ^                                                             
gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/stdio.h:740:9: note:
macro 'putc' defined here
#define putc(x, fp)     __sputc_r(_REENT, x, fp)


platform/Stream.h:48
https://github.com/ARMmbed/mbed-os/blob/master/platform/Stream.h#L48

Regards,
Leslie Zhai

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to