mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix disarm warnings in clang more properly
This commit is contained in:
parent
20873f2985
commit
a53f8738d8
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue