Merge pull request #4772 from amirzaim/patch-2

Update buildfix for Clang 3.4
This commit is contained in:
Henrik Rydgård committed 2013-12-09 06:24:37 -08:00
commit 8b008397bb
1 file changed
+12 -1
+12 -1
View File
@@ -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