Skip to content

user supplied header file accidentally named 'wgtcc.h' #45

@huangguiyang

Description

@huangguiyang

create a header file named wgtcc.h:

fuck

foo.c:

#include <wgtcc.h>
void foo() {}
$ wgtcc -E foo.c -I.

fuckfuck
void foo() {}

The output is strange.

If we don't create wgtcc.h, the internal wgtcc.h would be included accidentally.

In short, the internal wgtcc.h must NOT be placed in the standard including path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions