extend the Qt clang fix pertaining to shadowing of global variables to g++
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wshadow"
|
||||
#elif defined(__GNUC__) && defined(__cplusplus)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
|
||||
/*qt_pre.h*/
|
||||
|
||||
Reference in New Issue
Block a user