ETLCPP / etl

Embedded Template Library
https://www.etlcpp.com
MIT License
2.17k stars 387 forks source link

Unused parameter warnings #930

Closed tmayoff closed 1 month ago

tmayoff commented 2 months ago

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 commented 2 months ago

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

jwellbelove commented 1 month ago

Fixed 20.39.3