Skip to content

Compilation failure with libsystemd #3616

Description

@planetmarshall

Summary

Compilation failure with GCC 16

spdlog/include/spdlog/sinks/systemd_namespace_sink.h:78:42: error: call to non-‘constexpr’ function ‘fmt::v12::basic_string_view<Char>::basic_string_view(const Char*) [with Char = char]’ [-Wtemplate-body]

Steps to reproduce

cmake -S . -B build -DSPDLOG_BUILD_TESTS=ON
cmake --build build

System info

Arch Linux 7.0.10-arch1-1
gcc (GCC) 16.1.1 20260430
spdlog git:d5275e3343c4dca4feb9fa772199181509f2a657

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions