ETLCPP / etl

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

Unused parameter warnings #930

Closed tmayoff closed 3 months ago

tmayoff commented 4 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 4 months ago

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

jwellbelove commented 3 months ago

Fixed 20.39.3