I cannot compile the latest version of Cinder from git master on openSUSE Tumbleweed due to the fact that control reaches the end of a non-void function (as you can see in the log). Here is the specific error:
[ 85s] /home/abuild/rpmbuild/BUILD/Cinder-git.master.20220210/src/cinder/Log.cpp:389:25: error: control reaches end of non-void function [-Werror=return-type]
[ 85s] 389 | default: CI_ASSERT_NOT_REACHABLE();
but it could happen in other place too if the compiler check for it (-Werror=return-type) is not enabled when building Cinder.
Hello,
I cannot compile the latest version of Cinder from git master on openSUSE Tumbleweed due to the fact that control reaches the end of a non-void function (as you can see in the log). Here is the specific error:
but it could happen in other place too if the compiler check for it (
-Werror=return-type
) is not enabled when building Cinder.Thank you for reading.