Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Local build error for AutomationEventList #279

@kyomawolf

Description

@kyomawolf

I've had an issue with building the current master/5.0.1 version.

    AutomationEventList& Unload() {
        ::UnloadAutomationEventList(this);
        return *this;
    }

This bit caused a compiler error as the function prototype of the raylib 5.1 is this:
RLAPI void UnloadAutomationEventList(AutomationEventList list);
So I changed the this to *this, fixing it locally for me, but that causes the build pipeline to fail, so I'm confused who is right. Is the build pipeline broken, or is it just my system?
This is my build setup:
Kubuntu 22.04
Raylib 5.1
C compiler version GNU 11.4.0

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