-
Philipp A. Hartmann authored
Warning push/pop support has been added to GCC in version 4.6.0, and pragmas to ignore certain warnings are present since 4.2.0. This patch hides the compiler-specific warning push/pop/disable pragmas behind a macro-based implementation (currently for MSVC and clang /GCC. This avoids warnings, as seen e.g. on GCC 4.4: ../../include/rapidjson/document.h:14: error: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ and earlier versions complaining about unknown pragmas being ignored. Note: unittest.h and perftest.h need to check for compilers explicitly, as rapidjson.h is not included there.
813da24d
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
jsoncpptest.cpp | ||
misctest.cpp | ||
perftest.cpp | ||
perftest.h | ||
platformtest.cpp | ||
rapidjsontest.cpp | ||
ultrajsontest.cpp | ||
yajl_all.c | ||
yajltest.cpp |