mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #611 from Tilka/clang_bug
VideoCommon: version-check clang for workaround
This commit is contained in:
commit
3f67ec0d50
@ -28,7 +28,7 @@
|
||||
|
||||
// This avoids a harmless warning from a system header in Clang;
|
||||
// see http://llvm.org/bugs/show_bug.cgi?id=16093
|
||||
#ifdef __clang__
|
||||
#ifdef __clang__ && __clang_major__ * 100 + __clang_minor__ <= 304
|
||||
#pragma clang diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user