mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Merge pull request #617 from Tilka/clang_bug
VideoCommon: fix clang version check
This commit is contained in:
commit
0c6eeaff05
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
// This avoids a harmless warning from a system header in Clang;
|
// This avoids a harmless warning from a system header in Clang;
|
||||||
// see http://llvm.org/bugs/show_bug.cgi?id=16093
|
// see http://llvm.org/bugs/show_bug.cgi?id=16093
|
||||||
#ifdef __clang__ && __clang_major__ * 100 + __clang_minor__ <= 304
|
#ifdef __clang__ && (__clang_major__ * 100 + __clang_minor__ < 304)
|
||||||
#pragma clang diagnostic ignored "-Wshadow"
|
#pragma clang diagnostic ignored "-Wshadow"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue