mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-19 00:46:02 +01:00
- disabled warning 4786 for VS6 caused by STL (identifier was truncated to '255' characters in the debug information)
- added batchbuild config for XP VM
This commit is contained in:
parent
cb5ae30f6e
commit
7b62ceacee
26
devtools/agent_vmxp.json
Normal file
26
devtools/agent_vmxp.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"cmake_variants" : [
|
||||||
|
{"name": "generator",
|
||||||
|
"generators": [
|
||||||
|
{"generator": [
|
||||||
|
"Visual Studio 6",
|
||||||
|
"Visual Studio 7",
|
||||||
|
"Visual Studio 8 2005"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{"name": "shared_dll",
|
||||||
|
"variables": [
|
||||||
|
["JSONCPP_LIB_BUILD_SHARED=true"],
|
||||||
|
["JSONCPP_LIB_BUILD_SHARED=false"]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{"name": "build_type",
|
||||||
|
"build_types": [
|
||||||
|
"debug",
|
||||||
|
"release"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -68,6 +68,9 @@
|
|||||||
// Microsoft Visual Studio 6 only support conversion from __int64 to double
|
// Microsoft Visual Studio 6 only support conversion from __int64 to double
|
||||||
// (no conversion from unsigned __int64).
|
// (no conversion from unsigned __int64).
|
||||||
#define JSON_USE_INT64_DOUBLE_CONVERSION 1
|
#define JSON_USE_INT64_DOUBLE_CONVERSION 1
|
||||||
|
// Disable warning 4786 for VS6 caused by STL (identifier was truncated to '255' characters in the debug information)
|
||||||
|
// All projects I've ever seen with VS6 were using this globally (not bothering with pragma push/pop).
|
||||||
|
#pragma warning(disable : 4786)
|
||||||
#endif // if defined(_MSC_VER) && _MSC_VER < 1200 // MSVC 6
|
#endif // if defined(_MSC_VER) && _MSC_VER < 1200 // MSVC 6
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER >= 1500 // MSVC 2008
|
#if defined(_MSC_VER) && _MSC_VER >= 1500 // MSVC 2008
|
||||||
|
Loading…
x
Reference in New Issue
Block a user