Skip to content

Build failure on Win with libc++ #1069

Closed
@bryan-lipinski

Description

@bryan-lipinski

The cpprest codebase gates usage of stdext::checked_array_iterator on _WIN32. When building with libc++ on windows this results in the following error:

containerstream.h(404,47): error: no member named 'checked_array_iterator' in namespace 'stdext'
std::copy(readBegin, readEnd, stdext::checked_array_iterator<_CharType*>(ptr, count));

_SECURE_SCL or _ITERATOR_DEBUG_LEVEL would be more appropriate checks.

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