From fe6ced47c4513227d43f47dd71e1cc39cb172884 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Thu, 28 Nov 2013 18:16:12 +0800 Subject: [PATCH 1/2] quick hack to disable clean method of java binding. this enables 'make clean' work again on non-java machine --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 062587bdc..beb0fd8db 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ clean: #cd bindings/ruby; $(MAKE) clean; rm -rf Makefile $(MAKE) -C bindings/python clean $(MAKE) -C bindings/csharp clean - $(MAKE) -C bindings/java clean + #$(MAKE) -C bindings/java clean $(MAKE) -C bindings/ocaml clean $(MAKE) -C tests clean From d7dbccd05efe4c5f9022071fbc69747e4463c296 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Thu, 28 Nov 2013 23:15:34 +0800 Subject: [PATCH 2/2] Removed a couple of inoffensive compiler warnings. By Daniel Godas-Lopez --- arch/AArch64/AArch64BaseInfo.c | 2 +- arch/X86/mapping.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/AArch64/AArch64BaseInfo.c b/arch/AArch64/AArch64BaseInfo.c index b63094d5e..bbed5a8ee 100644 --- a/arch/AArch64/AArch64BaseInfo.c +++ b/arch/AArch64/AArch64BaseInfo.c @@ -41,7 +41,7 @@ static bool compare_lower_str(char *s1, char *s2) { char *lower = strdup(s2), *c; for (c = lower; *c; c++) - *c = tolower(*c); + *c = tolower((int) *c); bool res = (strcmp(s1, lower) == 0); free(lower); diff --git a/arch/X86/mapping.c b/arch/X86/mapping.c index 0f42b3199..5120e06c6 100644 --- a/arch/X86/mapping.c +++ b/arch/X86/mapping.c @@ -26,7 +26,7 @@ static enum { X86_REG_BP_DI = 503, X86_REG_sib = 504, X86_REG_sib64 = 505 -} _dummy; +} __attribute__((unused)) _dummy; static x86_reg sib_index_map[] = { X86_REG_INVALID,