xBRZ: try to fix a compiler warning on tdm-gcc
This commit is contained in:
parent
36592738a2
commit
d38a656f41
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue