diff --git a/src/xBRZ/xbrz.cpp b/src/xBRZ/xbrz.cpp index 5b84ba56d9ac..e2aac1f6429d 100644 --- a/src/xBRZ/xbrz.cpp +++ b/src/xBRZ/xbrz.cpp @@ -45,10 +45,12 @@ #include #ifdef __GNUC__ +#ifndef __clang__ #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 7 ) #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" //Suppress uninitialized variables warnings on GCC <= 4.7.x #endif #endif +#endif namespace {