[LLVMbugs] [Bug 4008] New: ".." doesn't make it through "clang -E" intact

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Apr 19 15:24:03 PDT 2009


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: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list