Cinder icon indicating copy to clipboard operation
Cinder copied to clipboard

Cannot compile latest version from git master on openSUSE Tumbleweed

Open fpesari opened this issue 3 years ago • 0 comments

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:

[   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.

Thank you for reading.

fpesari avatar Feb 18 '22 13:02 fpesari