Suppress uninit variable warnings in xBRZ code with gcc 4.8 too

This commit is contained in:
Ignacio R. Morelle 2015-06-27 19:30:12 -03:00
parent 0ece907a68
commit 4863fb1ca9

View file

@ -45,8 +45,8 @@
#include <boost/function.hpp>
#if defined(__GNUC__) && !defined(__clang__) && !defined(__WIN32__) // We only want this for gcc, not clang or tdm-gcc
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 7 )
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" //Suppress uninitialized variables warnings on GCC <= 4.7.x
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 8 )
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" //Suppress uninitialized variables warnings on GCC <= 4.8.x
#endif
#endif