Skip to content

warning C4706 - Visual Studio 2017 (/W4) #784

Closed

Description

@jseward
json.hpp(3037): warning C4706: assignment within conditional expression
json.hpp(3133): warning C4706: assignment within conditional expression

It looks like this was discussed and solved already for VS 2015 here : #295

But the issue remains on VS 2017

Activity

  1. nlohmann commented on Oct 16, 2017

    @nlohmann
    Owner

    The assignment is OK here, and it is surrounded by parentheses which silences GCC and Clang. Maybe, adding pragmas could help here. I have to check #295 again.

  2. added this to the Release 3.0.0 milestone on Oct 16, 2017
  3. self-assigned this
    on Oct 16, 2017
  4. nlohmann commented on Oct 16, 2017

    @nlohmann
    Owner

    Fixed with #785

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions