Skip to content

operator new param? #294

@kripken

Description

@kripken

In emscripten's libc++ port, operator new takes a size_t (unsigned int). However, when using the wasm backend, clang is not pleased, and says "no, that must be a size_t (unsigned long)",

error: 'operator new' takes type size_t ('unsigned long') as first parameter

This blocks many (all?) tests using c++ STL stuff.

What's going on here?

cc @sunfishcode @jfbastien @dschuff

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