http://llvm.org/bugs/show_bug.cgi?id=4008
Summary: ".." doesn't make it through "clang -E" intact
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:
..
Output of "gcc -E":
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "<stdin>"
..
Output of "clang -E":
# 1 "<stdin>"
# 1 "<stdin>" 1
# 1 "<built-in>" 1
# 103 "<built-in>"
# 103 "<command line>" 1
# 104 "<built-in>" 2
# 1 "<stdin>" 2
. .
This issue blocks building emacs; the emacs build system runs its makefiles
through the C preprocessor. Relevant snippet:
ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
-I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
--
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