mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 07:13:34 +01:00
Merge pull request #4772 from amirzaim/patch-2
Update buildfix for Clang 3.4
This commit is contained in:
commit
8b008397bb
1 file changed
+12
-1
+12
-1
@@ -60,6 +60,12 @@
|
||||
* (Thanks to Vincent Zweije for reporting this.)
|
||||
*/
|
||||
|
||||
#ifdef clang-3.4
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wtautological-compare" //used to avoid warning, force compiler to accept it.
|
||||
#endif clang-3.4
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -1046,4 +1052,9 @@ void ArmDis(unsigned int addr, unsigned int w, char *output, bool includeWord) {
|
||||
*output = ' ';
|
||||
output++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef clang-3.4
|
||||
#pragma GCC diagnostic pop
|
||||
#endif clang-3.4
|
||||
|
||||
Reference in new issue
Block a user