Skip to content

".." doesn't make it through "clang -E" intact #4380

@efriedma-quic

Description

@efriedma-quic
Bugzilla Link 4008
Resolution FIXED
Resolved on Mar 12, 2010 00:57
Version unspecified
OS Linux

Extended Description

Testcase:
..

Output of "gcc -E":

1 ""

1 ""

1 ""

1 ""

..

Output of "clang -E":

1 ""

1 "" 1

1 "" 1

103 ""

103 "" 1

104 "" 2

1 "" 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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions