http://llvm.org/bugs/show_bug.cgi?id=6542

           Summary: Add support for __gcc_tdiag__ format attribute
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


GCC makes use of the __gcc_tdiag__ format attribute in its various warning and
error output routines.  When compiling dragonegg with clang++, this results in
lots of warnings like this:

'format' attribute argument not supported: __gcc_tdiag__
extern bool warning (int, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);

This is annoying, because vast numbers of these warnings are output.
The same thing happens when compiling GCC with clang.  It would be
great if clang could recognize this format attribute.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to