Skip to content

Mac, iOS, and Ubuntu no longer can build #887

Closed
@mobileben

Description

@mobileben

I'm sorting through this right now. But there are a slew of errors now on compiling either iOS or Mac using Xcode 10.

Here are a few examples before the compiler gives up.

Release/include/cpprest/http_headers.h:222:25: error: no member named 'bind_impl' in namespace 'web::details'
        return details::bind_impl(iter->second, value) || iter->second.empty();

Release/include/cpprest/http_compression.h:99:13: error: 'const' type qualifier on return type has no effect
      [-Werror,-Wignored-qualifiers]
    virtual const uint16_t weight() const = 0;

Release/include/cpprest/http_compression.h:120:45: error: ISO C++11 does not allow conversion from string literal to
      'utility::char_t *const' (aka 'char *const') [-Werror,-Wwritable-strings]
constexpr utility::char_t *GZIP = _XPLATSTR("gzip");

Release/include/cpprest/http_compression.h:121:48: error: ISO C++11 does not allow conversion from string literal to
      'utility::char_t *const' (aka 'char *const') [-Werror,-Wwritable-strings]
constexpr utility::char_t *DEFLATE = _XPLATSTR("deflate");

Release/include/cpprest/http_compression.h:122:47: error: ISO C++11 does not allow conversion from string literal to
      'utility::char_t *const' (aka 'char *const') [-Werror,-Wwritable-strings]
constexpr utility::char_t *BROTLI = _XPLATSTR("br");

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