Package: libjsoncpp-dev
Version: 1.7.2
Severity: important

Dear Maintainer,

When compiling according to c++ standard before c++11, the jsoncpp
headers cause compiler errors due to this code in config.h:

        #if defined(_MSC_VER) && _MSC_VER <= 1600 // MSVC <= 2010
        # define JSONCPP_OVERRIDE
        #else
        # define JSONCPP_OVERRIDE override
        #endif // MSVC <= 2010

Because the 'override' keyword is not defined in pre-c++11.

This causes all code that does not explicitly select c++11 to fail to
compile with gcc <= 5, and all code that selects anything before c++11
to fail to compile as well.

Please update jsoncpp to 1.7.3 or 1.7.4; commit ba6fa4 fixes this issue.

Kind regards,

Rogier.


Reply via email to