Skip to content

'int' followed by 'void' is illegal #142186

Closed
@bjaraujo

Description

@bjaraujo

I get following error when trying to link the latest LLVM on Windows (MSVC):

D:\Libraries\LLVM\llvm+clang+lld-20.1.6-x86_64-windows-msvc-release-mt\include\clang\AST\Attrs.inc(6694,24): error C2632: 'int' followed by 'void' is illegal

Attrs.inc(6694,24):
static constexpr int THIS = 0;

I think the name THIS may be conflicting with some reserved macro or keyword on Windows.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions