mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix disarm warnings in clang more properly
This commit is contained in:
1 parent
20873f2985
commit
a53f8738d8
1 file changed
+5
-6
+5
-6
@@ -60,11 +60,11 @@
|
||||
* (Thanks to Vincent Zweije for reporting this.)
|
||||
*/
|
||||
|
||||
#ifdef clang-3.4
|
||||
#ifdef __clang__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wtautological-compare" //used to avoid warning, force compiler to accept it.
|
||||
#endif clang-3.4
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wstring-plus-int"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -1054,7 +1054,6 @@ void ArmDis(unsigned int addr, unsigned int w, char *output, bool includeWord) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef clang-3.4
|
||||
#ifdef __clang__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif clang-3.4
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user