Skip to content

GCC 15.1.1 errors when using C++23 #293

@jvonk

Description

@jvonk

Cannot compile with on Fedora 42 with GCC 15.1.1 using C++23
Seems to be caused by fix 2cbb93d for issue #65.

Error info:

In file included from build/_deps/toml11-src/include/toml11/impl/literal_impl.hpp:4,
                 from build/_deps/toml11-src/src/literal.cpp:1:
build/_deps/toml11-src/include/toml11/impl/../fwd/literal_fwd.hpp:22:25: error: space between quotes and suffix is deprecated in C++23 [-Werror=deprecated-literal-operator]
   22 | ::toml::value operator"" _toml(const char* str, std::size_t len);

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