Skip to content

[Question] Issue when using Appveyor when compiling library #603

Description

@tuananh

Hi,

Not sure if this is a right place to ask. I have a small project that use json as submodule library.

When I tried to use AppVeyor, I got some errors like this in the install step

src/json.hpp(8936): error C2589: '(': illegal token on right side of '::'
src/json.hpp(8933): note: while compiling class template member function 'std::string nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::adl_serializer>::input_buffer_adapter::read(::size_t,::size_t)'

and this

json.hpp(8936): error C2062: type 'unknown-type' unexpected

Does any of you know what options/ flag I have to use in AppVeyor to make it works?

Regards,

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions