Skip to content

Build errors (clang 11.0.0) on macOS 10.15.2 #1889

Description

@zac-garby

The library fails to build when running the unit tests or building it in part of another project.

I'm using clang (Apple clang version 11.0.0 (clang-1100.0.33.16)) on macOS Catalina 10.15.2.

I'm using a release version of json.

Here are some of the errors. I'll put the whole lot if you want.

/Users/zacgarby/code/c++/json/test/thirdparty/doctest/doctest.h:395:18: error: use of undeclared identifier
      'nullptr'
typedef decltype(nullptr) nullptr_t;
                 ^
/Users/zacgarby/code/c++/json/test/thirdparty/doctest/doctest.h:402:45: error: a space is required between
      consecutive right angle brackets (use '> >')
typedef basic_ostream<char, char_traits<char>> ostream;
                                            ^~
                                            > >
/Users/zacgarby/code/c++/json/test/thirdparty/doctest/doctest.h:993:6: error: expected expression
    [[noreturn]]
     ^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions