Skip to content

Warning in CZString copy constructor #110

@jmbushman

Description

@jmbushman

When compiling with GCC v4.7.0 and v4.6.3 with the -Wextra flag, I get the following warning:

$ g++ -m32 -std=c++0x -Wextra -I. -c jsoncpp.cpp
jsoncpp.cpp: In copy constructor ‘Json::Value::CZString::CZString(const Json::Value::CZString&)’:
jsoncpp.cpp:1650:26: warning: enumeral and non-enumeral type in conditional expression [enabled by default]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions