From b70b0ce2e2845cefebe3da97908c0c786af28b5b Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Thu, 30 Nov 2017 14:16:13 +0100 Subject: [PATCH] release 0.2.2 with cling-related warning fix --- include/xtensor-io/ximage.hpp | 7 +++++++ include/xtensor-io/xtensor_io_config.hpp.in | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/include/xtensor-io/ximage.hpp b/include/xtensor-io/ximage.hpp index a1f76bd..7fcab94 100644 --- a/include/xtensor-io/ximage.hpp +++ b/include/xtensor-io/ximage.hpp @@ -7,7 +7,14 @@ #include "xtensor/xeval.hpp" #include "xtensor_io_config.hpp" + +#ifdef __CLING__ +#pragma clang diagnostic push +// silencing warnings from OpenEXR 2.2.0 / OpenImageIO +#pragma clang diagnostic ignored "-Wdeprecated-register" #pragma cling load("OpenImageIO") +#pragma clang diagnostic pop +#endif namespace xt { diff --git a/include/xtensor-io/xtensor_io_config.hpp.in b/include/xtensor-io/xtensor_io_config.hpp.in index 36d47d9..6465635 100644 --- a/include/xtensor-io/xtensor_io_config.hpp.in +++ b/include/xtensor-io/xtensor_io_config.hpp.in @@ -11,7 +11,7 @@ #define XTENSOR_IO_VERSION_MAJOR 0 #define XTENSOR_IO_VERSION_MINOR 2 -#define XTENSOR_IO_VERSION_PATCH 1 +#define XTENSOR_IO_VERSION_PATCH 2 #pragma cling add_library_path(@XTENSOR_IO_CLING_LIBRARY_DIR_64@) #pragma cling add_library_path(@XTENSOR_IO_CLING_LIBRARY_DIR_32@)