Skip to content

C2864 error when compiling with VS2015 and VS 2017 #903

@xelatihy

Description

@xelatihy

Bug Report

I have several compiler errors of type C2864 when compiling of both VS2015 and VS2017. Using cmake build script with C++14 as required version.

I am using AppVeyor to build my app since I do not have a local Windows install, so I cannot verify whether it builds with your CMake.

First error is in
/json.hpp(812): error C2864: 'nlohmann::detail::has_mapped_type::value': a static data member with an in-class initializer must have non-volatile const integral type

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions