http://llvm.org/bugs/show_bug.cgi?id=18424
Bug ID: 18424
Summary: Syntax error in /usr/include/sys/vt.h (keyword "new",
included from sanitizer)
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
When building LLVM with clang and compiler-rt on Linux 2.6.32.59, I see a
syntax error in /usr/include/linux.vt.h. This file contains the line
{{{
unsigned int new; /* New console (if changing) */
}}}
which is valid in C, but not in C++ since it contains the keyword "new". This
leads to a syntax error, aborting the build.
--
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