Mercurial > hg > orthanc-wsi
changeset 234:a464169306ce
integration 1.0->mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 14 Jan 2021 08:50:27 +0100 |
parents | a2d4bae64839 (current diff) c0a554576721 (diff) |
children | 8a5b2b068e52 |
files | |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/ImageToolbox.cpp Thu Jan 14 07:18:25 2021 +0100 +++ b/Framework/ImageToolbox.cpp Thu Jan 14 08:50:27 2021 +0100 @@ -278,7 +278,9 @@ #if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) && ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 9, 0) Orthanc::ImageProcessing::ConvertJpegYCbCrToRgb(image); #else -# warning You are using an old version of the Orthanc framework +# if defined(__GNUC__) || defined(__clang__) +# warning You are using an old version of the Orthanc framework +# endif const unsigned int width = image.GetWidth(); const unsigned int height = image.GetHeight(); const unsigned int pitch = image.GetPitch();