Closed tchoutri closed 3 months ago
Version 2.2 is quite old, not surprising that recent compilers may complain. I would recommend building 2.4.1 if you can.
The latest version of the line is return souffle::PiggyList<parent_t>{nodes};
. That might be enough to fix?
The latest version of the line is
return souffle::PiggyList<parent_t>{nodes};
. That might be enough to fix?
Ok! Thank you!
New versions of compilers tend to implement more and more warnings.
You may consider removing at least -Werror
here to disable "warnings into errors" behavior:
I have done this, but it doesn't seem to effect the error. Is there any command to build the binary and not the tests?
You should be able to disable the build of tests with cmake -DSOUFFLE_ENABLE_TESTING=OFF ...
This branch builds with tests on my fedora 40: https://github.com/quentin/souffle/tree/v2.2
https://github.com/souffle-lang/souffle/compare/2.2...quentin:souffle:v2.2
I'm closing this question. Feel free to re-open if needed.
It doesn't seem possible to build Souffle 2.2 on Fedora 40 at the moment:
I already had to pass
-Wno-error=deprecated-declarations
insrc/CMakeLists.txt
but I don't have a good workaround for this.