Skip to content

Conformance fails to build on MinGW because Windows defines FASTCALL #2961

Description

@razvanpacku

Luau.Conformance fails to compile on Windows when using MinGW/MSYS2.

The failure is:
CodeGen/include/Luau/IrData.h:570:13: error: expected identifier before ',' token

On Windows, BufferCage.h includes windows.h. MinGW's Windows headers define FASTCALL as an empty macro on 64-bit targets. This replaces the FASTCALL enumerator in Luau::CodeGen::IrCmd, resulting in invalid C++.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildBuild system or platform compatibility issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions