[LLVMbugs] [Bug 18424] New: Syntax error in /usr/include/sys/vt.h (keyword "new", included from sanitizer)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 8 10:37:49 PST 2014
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: unassignedclangbugs at nondot.org
Reporter: schnetter at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140108/bc524afd/attachment.html>
More information about the llvm-bugs
mailing list