#38 Compilation warnings

0.5.0
closed-works-for-me
nobody
5
2015-03-06
2011-09-22
Anonymous
No

There are a few warning easily avoidable at compilation time :

/path/to/lib/jsoncpp.cpp: In copy constructor ‘Json::Value::CZString::CZString(const Json::Value::CZString&)’:
/path/to/lib/jsoncpp.cpp:1700: warning: enumeral and non-enumeral type in conditional expression
/path/to/lib/jsoncpp.cpp: In constructor ‘Json::Value::Value(const char*)’:
/path/to/lib/jsoncpp.cpp:1878: warning: overflow in implicit constant conversion
/path/to/lib/jsoncpp.cpp: In constructor ‘Json::Value::Value(const char*, const char*)’:
/path/to/lib/jsoncpp.cpp:1891: warning: overflow in implicit constant conversion
/path/to/lib/jsoncpp.cpp: In constructor ‘Json::Value::Value(const std::string&)’:
/path/to/lib/jsoncpp.cpp:1904: warning: overflow in implicit constant conversion
/path/to/lib/jsoncpp.cpp: In copy constructor ‘Json::Value::Value(const Json::Value&)’:
/path/to/lib/jsoncpp.cpp:1970: warning: overflow in implicit constant conversion
/path/to/lib/jsoncpp.cpp: At global scope:
/path/to/lib/jsoncpp.cpp:3254: warning: unused parameter ‘path’
/path/to/lib/jsoncpp.cpp:3275: warning: unused parameter ‘path’
/path/to/lib/jsoncpp.cpp:3275: warning: unused parameter ‘location’

Discussion

  • Christopher Dunn

    • status: open --> closed-works-for-me
    • Group: --> 0.5.0
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks