cinder / Cinder

Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
http://libcinder.org
Other
5.27k stars 939 forks source link

Cannot compile latest version from git master on openSUSE Tumbleweed #2275

Open fpesari opened 2 years ago

fpesari commented 2 years ago

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.