# HG changeset patch # User Sebastien Jodogne # Date 1610610627 -3600 # Node ID a464169306cee769ff7e34da2ef0b4fb33db22c2 # Parent a2d4bae648393ecdd02053e3cf8d3e36272f861e# Parent c0a5545767215c1c9ac0dc4b045b85a7a7bc4eed integration 1.0->mainline diff -r a2d4bae64839 -r a464169306ce Framework/ImageToolbox.cpp --- 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();