Description
I have successfully compiled jsoncpp with Visual studio 2017 and Windows 7
Now I'm trying to do the same with Visual studio 2010 over my laptop with Windows 10.
I got Sintax Error in json_value.cpp each time in the code I found:
----> return {};
Errore 8 error C2059: errore di sintassi: '{' c:\users\alessandro\chaos_compile\jsoncpp-master\src\lib_json\json_value.cpp 1533 1 lib_json
Errore 9 error C2143: errore di sintassi: ';' mancante prima di '{' c:\users\alessandro\chaos_compile\jsoncpp-master\src\lib_json\json_value.cpp 1533 1 lib_json
Errore 10 error C2059: errore di sintassi: '{' c:\users\alessandro\chaos_compile\jsoncpp-master\src\lib_json\json_value.cpp 1546 1 lib_json
Errore 11 error C2143: errore di sintassi: ';' mancante prima di '{' c:\users\alessandro\chaos_compile\jsoncpp-master\src\lib_json\json_value.cpp 1546 1 lib_json
It seems like the compiler don't recognize {} as a constant empty json value.
I used the msvc2010 jsoncpp.sln already provided in the Master branch.
I did nothing except compiling.