You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I used your project as a submodule, I have not figured out how to force a different C++ standard just for your project.
What worked out for me was manually modifying the CMakeLists.txt.
I do not know what is the situation with Clang.
I would suggest either fixing these constructors, using -Wno-template-id-cdtor for GCC (which may not fix it for other compilers), or simply dropping -Werror.
The text was updated successfully, but these errors were encountered:
Tomaqa
added a commit
to Tomaqa/Marabou
that referenced
this issue
Jan 19, 2025
With GCC13 I experienced that such constructors are not even considered as warnings but directly as errors, so removing -Werror does not resolve the issue there.
In your project, you use deprecated template-ids within constructors:
Also, your
CMakeLists.txt
defines for non-Clang non-release mode the following:This causes the warnings to turn into errors.
Since I used your project as a submodule, I have not figured out how to force a different C++ standard just for your project.
What worked out for me was manually modifying the
CMakeLists.txt
.I do not know what is the situation with Clang.
I would suggest either fixing these constructors, using
-Wno-template-id-cdtor
for GCC (which may not fix it for other compilers), or simply dropping-Werror
.The text was updated successfully, but these errors were encountered: