Skip to content

Autogenerated files are using C++17 features, but this repository uses C++14 #47

@Morxemplum

Description

@Morxemplum

When trying to compile mcpelauncher-ui upstream, this submodule is compiled as part of the process.

However, when I try to compile. I run into several errors with a particular autogenerated file called mocs_compilation.cpp. The common thread here is that it doesn't know what string_view is. string_view requires at minimum C++17. However, when looking at CMakeLists, it is setting the version to C++14. This repository is using an outdated C++ standard and will not compile.

set(CMAKE_CXX_STANDARD 14)

When setting this value to 17, the project compiles without these errors.

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