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

           Summary: Strange diagnostic for macro redefinition in system
                    header
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Testcase:

#define MAX(a,b) ((a)<(b)?(a):(b))
#include <sys/param.h>

Diagnostic on Linux x86:
<stdin>:1:9: note: previous definition is here
#define MAX(a,b) ((a)<(b)?(a):(b))

We either want to print out the whole diagnostic or none of it...


-- 
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