[LLVMbugs] [Bug 3215] New: Strange diagnostic for macro redefinition in system header
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Dec 15 14:31:32 PST 2008
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: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list