I compiled with VS 2015 jsoncpp and can link to it and everything works fine.
However, I get tones of outdated warnings. Some classes are marked as defective in code:
class JSONCPP_DEPRECATED("Use StreamWriter instead") JSON_API Writer {...};
with
#define JSONCPP_DEPRECATED(message) __declspec(deprecated(message))
The thing is, I do not use these classes. I get messages as soon as the file is included. Compilation:
#include <json/json.h>
int main( int argc, char* argv[] )
{
return 0;
}
Produces 13 obsolete warnings ...
Shouldn't these warnings only be reported when using an obsolete class / function? is there any way to make it work this way? (I could turn off warning C4996, but it would be better if it was turned on, but only reported if the legacy class / function was actually used).