Skip to content

1909: Add preproccesor check to prevent redefinition of new()#1910

Merged
zackees merged 1 commit into
FastLED:masterfrom
Dantali0n:check-operator-new
Mar 29, 2025
Merged

1909: Add preproccesor check to prevent redefinition of new()#1910
zackees merged 1 commit into
FastLED:masterfrom
Dantali0n:check-operator-new

Conversation

@Dantali0n
Copy link
Copy Markdown

@Dantali0n Dantali0n commented Mar 27, 2025

Closes: #1909

This adds a new define check using FASTLED_HAS_NEW to prevent redefinition of operator new() on AVR as that is also defined by the ArduinoSTL library.

@zackees
Copy link
Copy Markdown
Member

zackees commented Mar 29, 2025

Thank you!

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

Successfully merging this pull request may close these issues.

FastLED incompatible with ArduinoSTL on AVR due to operator new(size_t, void* ptr) _NO_EXCEPT

2 participants