We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/home/haba/.arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/new.cpp: In function 'void* operator new(std::size_t, std::nothrow_t)': /home/haba/.arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/new.cpp:59:60: warning: unused parameter 'tag' [-Wunused-parameter] void * operator new(std::size_t size, const std::nothrow_t tag) noexcept { ^~~ /home/haba/.arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/new.cpp: In function 'void* operator new [](std::size_t, const std::nothrow_t&)': /home/haba/.arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/new.cpp:68:63: warning: unused parameter 'tag' [-Wunused-parameter] void * operator new[](std::size_t size, const std::nothrow_t& tag) noexcept { ^~~ /home/haba/.arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/new.cpp: In function 'void operator delete(void*, const std::nothrow_t&)': /home/haba/.arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/new.cpp:103:55: warning: unused parameter 'tag' [-Wunused-parameter] void operator delete(void* ptr, const std::nothrow_t& tag) noexcept { ^~~ /home/haba/.arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/new.cpp: In function 'void operator delete [](void*, const std::nothrow_t&)': /home/haba/.arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/new.cpp:106:57: warning: unused parameter 'tag' [-Wunused-parameter] void operator delete[](void* ptr, const std::nothrow_t& tag) noexcept {
Just fix. with a void (tag); With -Werror it won't compile at all. Regards, Harald.
void (tag);
The text was updated successfully, but these errors were encountered:
unused parameter 'tag' [-Werror=unused-parameter]
There are already a number of PRs for this, I would prefer merging #487 to fix this.
Sorry, something went wrong.
Is there any hope of getting one of the multiple PRs that resolve this annoyance pulled in?
The PRs are very low impact/risk, it really would be nice to have this cleaned up.
Successfully merging a pull request may close this issue.
Just fix. with a
void (tag);
With -Werror it won't compile at all.Regards,
Harald.
The text was updated successfully, but these errors were encountered: