Skip to content

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

@fpesari

Description

@fpesari

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions