Skip to content

ImportC: macro interpreted as an enum conflicts with function #21225

@drpriver

Description

@drpriver
void foo(void){}
#define foo 0

Leads to an error like:

#defines(1): Error: variable `z.foo` conflicts with function `z.foo` at z.c(1)
#define __llvm__ 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions