diff --git a/include/xtensor-io/ximage.hpp b/include/xtensor-io/ximage.hpp index 7fcab94..35d3b17 100644 --- a/include/xtensor-io/ximage.hpp +++ b/include/xtensor-io/ximage.hpp @@ -1,19 +1,22 @@ #include #include -#include - #include "xtensor/xarray.hpp" #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 + #pragma clang diagnostic push + // silencing warnings from OpenEXR 2.2.0 / OpenImageIO + #pragma clang diagnostic ignored "-Wdeprecated-register" + #pragma cling load("OpenImageIO") +#endif + +#include + +#ifdef __CLING__ + #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 6465635..8a54513 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 2 +#define XTENSOR_IO_VERSION_PATCH 3 #pragma cling add_library_path(@XTENSOR_IO_CLING_LIBRARY_DIR_64@) #pragma cling add_library_path(@XTENSOR_IO_CLING_LIBRARY_DIR_32@)