Mercurial > hg > orthanc-wsi
changeset 233:c0a554576721 OrthancWSI-1.0
"#warning" is not available on Visual Studio
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 14 Jan 2021 08:49:23 +0100 |
parents | 121328eb4a7d |
children | a464169306ce 44700364a030 |
files | Framework/ImageToolbox.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/ImageToolbox.cpp Thu Jan 14 07:15:19 2021 +0100 +++ b/Framework/ImageToolbox.cpp Thu Jan 14 08:49:23 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();