xBRZ: try to fix a compiler warning on tdm-gcc

This commit is contained in:
Chris Beck 2015-01-04 00:53:52 -05:00
parent 36592738a2
commit d38a656f41

View file

@ -44,13 +44,11 @@
#include <boost/bind.hpp>
#include <boost/function.hpp>
#ifdef __GNUC__
#ifndef __clang__
#if defined(__GNUC__) && !defined(__clang__) && !defined(__GNUWIN32__) // 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
#endif
#endif
#endif
namespace
{