Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare code for placement new being added to Arduino library #63

Open
Pharap opened this issue Oct 12, 2019 · 0 comments
Open

Prepare code for placement new being added to Arduino library #63

Pharap opened this issue Oct 12, 2019 · 0 comments
Assignees
Milestone

Comments

@Pharap
Copy link
Owner

Pharap commented Oct 12, 2019

inline void * operator new (size_t size, void * pointer)
{
static_cast<void>(size);
return pointer;
}

The Arduino library has recently added placement new to the library,
which will clash with this implementation of placement new and thus prevent compilation.

This code needs to be changed to avoid being defined if the library is suitably recent.

@Pharap Pharap self-assigned this Oct 12, 2019
@Pharap Pharap added this to the v2.0.4 milestone Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant