Skip to content

call-loop with FLEXT_USE_CMEM #49

Description

@i-n-g-o

Hello.

I ran into problems using FLEXT_USE_CMEM, it result in a call-loop:

void *operator new(size_t bytes) in flsupport.cpp calls flext_root::operator new(bytes);
which is inlined with: ::operator new(bytes); defined in flsupport.h
which calls the global new operator again.

Not sure what the idea was about FLEXT_USE_CMEM, but this seems wrong.
It looks like neither the global new operator nor the inline new-operator is necessary?

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions