Suppress uninit variable warnings in xBRZ code with gcc 4.8 too
This commit is contained in:
parent
0ece907a68
commit
4863fb1ca9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue