Closed Skallwar closed 2 years ago
-Werror
is pretty much always a mistake to use for these exact cases. Do you mind sending a PR removing it from the defaults flags in CMakeLists.txt?
@Snaipe the warning actually looks nasty here, some function expects a struct and gets a function pointer
What's strange here is that there is no problem when libcheck is uninstalled. There seems to be a conflict
Check seems to have changed the function signature to take a struct TTest instead of a TFun when they released 0.13.0. The tests would need to be fixed, but tbf I might just as well use Criterion for testing.
@Snaipe doesn't criterion use libcsptr under the hood? So this bug still affects them
I can't compile the project. Here is the output:
However without libcheck installed, I can compile without problem