diff options
author | Brad King <brad.king@kitware.com> | 2017-08-28 15:43:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-30 14:17:09 (GMT) |
commit | 0a0f71066f5206898ab8da789c04b17b664af069 (patch) | |
tree | 895b08855678b8f8ba3806b9a6286d7603da14a3 /Utilities/cmjsoncpp/include/json/config.h | |
parent | e09819557f5bf29f8414d5165e2c3e8ad8dee2d1 (diff) | |
download | CMake-0a0f71066f5206898ab8da789c04b17b664af069.zip CMake-0a0f71066f5206898ab8da789c04b17b664af069.tar.gz CMake-0a0f71066f5206898ab8da789c04b17b664af069.tar.bz2 |
jsoncpp: Drop deprecation markup
Even though we disable warnings when building jsoncpp itself, including
its headers from other CMake sources may still cause warnings.
Additional work will be needed to port CMake to newer jsoncpp interfaces
while still supporting jsoncpp 1.0.0. For now, just suppress the
markup.
Diffstat (limited to 'Utilities/cmjsoncpp/include/json/config.h')
-rw-r--r-- | Utilities/cmjsoncpp/include/json/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmjsoncpp/include/json/config.h b/Utilities/cmjsoncpp/include/json/config.h index a15ab40..eb52e71 100644 --- a/Utilities/cmjsoncpp/include/json/config.h +++ b/Utilities/cmjsoncpp/include/json/config.h @@ -138,6 +138,7 @@ # endif // GNUC version #endif // __clang__ || __GNUC__ +#undef JSONCPP_DEPRECATED // no deprecations in CMake copy #if !defined(JSONCPP_DEPRECATED) #define JSONCPP_DEPRECATED(message) #endif // if !defined(JSONCPP_DEPRECATED) |