Menu

#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

    There are 0 compilation warnings at: https://github.com/open-source-parsers/jsoncpp/

     
  • Christopher Dunn

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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.