[LLVMbugs] [Bug 304] NEW: warnings compiling Stacker compiler on Mac OS X
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Mar 30 11:02:42 PST 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=304
Summary: warnings compiling Stacker compiler on Mac OS X
Product: Projects
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: trivial
Priority: P2
Component: Stacker
AssignedTo: rspencer at x10sys.com
ReportedBy: gaeke+bugs at uiuc.edu
I happened to notice that the Stacker lexer has tokens named TRUE and FALSE, which conflict
with macros defined in system headers on Mac OS X. This results in macro redefinition warnings during
compilation. (It looks like this might also be true of the llvm assembly parser.)
StackerParser.h::1: warning: "TRUE" redefined
/usr/include/mach/boolean.h::1: warning: this is the location of the previous definition
StackerParser.h::1: warning: "FALSE" redefined
/usr/include/mach/boolean.h::1: warning: this is the location of the previous definition
StackerParser.h::1: warning: "TRUE" redefined
/usr/include/mach/boolean.h::1: warning: this is the location of the previous definition
StackerParser.h::1: warning: "FALSE" redefined
/usr/include/mach/boolean.h::1: warning: this is the location of the previous definition
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list