Skip to content

/Zc:__cplusplus leads to C2416 #1695

Description

@crusader-mike

OS: Windows 7
Compiler: MSVC 2017 (15.9.11)

If project uses /Zc:__cplusplus json lib v3.7.0 fails to compile with this:

C2416: attribute 'deprecated' cannot be applied in this context

Looks like MSVC doesn't like this attribute applied to operator>> definition.

Activity

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