Skip to content

Unable to create C++ list or vector #30

@yannis300307

Description

@yannis300307

When I try to create a C++ list, I get the following linker error:

/home/yannis300307/.npm/_npx/6d991536f923a4f6/node_modules/.bin/nwlink: app.nwa: in function `main':
(.text.startup.main+0x22): undefined reference to `operator delete(void*)'

Here is a minimal reproduction :

#include <list>

int main() {
    std::list<int> test;
}

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