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

Unused parameter warnings #930

Closed
tmayoff opened this issue Jul 22, 2024 · 2 comments
Closed

Unused parameter warnings #930

tmayoff opened this issue Jul 22, 2024 · 2 comments
Assignees

Comments

@tmayoff
Copy link

tmayoff commented Jul 22, 2024

We're using this in our codebase and would like to be able to compile with -Werror and -Wunused-parameter. But are being prevented by this library.

../subprojects/etl-20.38.10/include/etl/vector.h:270:25: warning: unused parameter 'n' [-Wunused-parameter]
    void reserve(size_t n)

Is there a combination of macros that can silence this warning. Or can this be fixed in this repo?

@jwellbelove
Copy link
Contributor

I will be pushing a new release very soon. I'll add the change to it.

@jwellbelove
Copy link
Contributor

Fixed 20.39.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants