Skip to content

Problem with passing struct to C function on windows #11198

Closed
@ghost

Description

I prepared some files that should illustrate the problem: click

Struct Color is passed incorrectly to function in C library. I pass {1,2,3,4} but receive {1,0,0,0}.

It happens on Windows 7 64bit, but not on Linux Mint 64bit.
Using external LLVM to compile bitcode (on Windows) works too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions