Skip to content

'alloca': identifier not found #372

@AlvaroBarua

Description

@AlvaroBarua

ImVec2* circlePos = (ImVec2*)alloca(sizeof(ImVec2) * (circleMul * halfCircleSegmentCount + 1));

Blaming the line looks like it was modified 4 years ago last, so its odd that it is just complaining now about it since I've been using the lib for quite some time, just recently formatted and setup a new machine and now it is complaining about it.
I am on Win11 using VS 2022 cpp20.

Did a quick scan and changing it to _malloca seems to be the way to go based on the usage somwhere else and the define at the beginning of the file.

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