-
Notifications
You must be signed in to change notification settings - Fork 81
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
Multiple definitions of std::nothrow
on __AVR_ARCH__
#95
Comments
Actually, I think that the fix is like below: |
Can you explain that in more detail? It looks like you are defining a new empty function. I thought the purpose of the file is to define functions in the |
By reading the code I understood that the intention is to get rid of writing std std all the time for nothrow, therefore, who wrote the code just made the mistake of duplicating the std word (the compiler error you saw). |
Thanks for the quick fix. Worked like a charm. |
See my fork that should have fixed this. |
I'm not sure if this is the appropriate solution, but to allow an AVR project to compile correctly, I had to wrap the definition of
std::nothrow
in an#ifdef
.new_handler.cpp
Here is the compiler error for additional context:
The text was updated successfully, but these errors were encountered: