unused parameter error/warning #2706
Labels
release item: 🔨 further change
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
I just picked up the json diagnostic option which is a great new addition btw, but I am currently seeing this error (can be made warning) when building in release mode (basically
cassert(foo)
is being eliminated by the pre-processor leading the error below:json/single_include/nlohmann/json.hpp:18131:32: error: unused parameter 'check_parents' [-Werror=unused-parameter]
18131 | void assert_invariant(bool check_parents = true) const noexcept
| ~~~~~^~~~~~~~~~~~~~~~~~~~
Thank you again for all the vibrant support
The text was updated successfully, but these errors were encountered: