Skip to content

cpp-netlib 0.12.0-final does not compile with C++17 gcc + libstdc++ #863

@germandiago

Description

@germandiago

Hello everyone,

OS: ubuntu 18.04 (dockerized)

There seems to be an ambiguity in make_optional calls due to ADL when compiling with gcc + libstdc++ as packaged in Ubuntu. For some reason std::make_optional is included indirectly in file uri_parts.hpp file. I tried to include cppnet headers before anything else but the problem persisted.

So I created a patch for explicit ::boost qualification in uri_parts.hpp. If there is any interest, please let me know, I will send a PR.

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