Skip to content

size_t signature change breaks 32-bit only code #6973

Description

@janjongboom

I have lots of 32-bits only code which has a number of assumptions around the size of size_t being an int, not a long. This is all code written for 32-bit microcontrollers. In the past this never caused any issues (all the targets that this code target are 32-bit targets anyway) with Emscripten, but since #5916 landed this yields a bunch of broken changes.

Last I checked Emscripten was still a 32 bits platform. Could we get some option to switch the size_t definition back to 4 bytes?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions