Re: [PATCH] MINOR: mute warnings while compiling with clang

2013-05-27 Thread Willy Tarreau
Hi Joris, On Mon, May 27, 2013 at 07:17:28PM +0200, joris dedieu wrote: So maybe we can find some expect unused attributes for the functions and macros, or maybe we can disable those stupid checks in the compiler's cflags. So what about a conditional directive in the Makefile ? Something

[PATCH] MINOR: mute warnings while compiling with clang

2013-05-23 Thread joris dedieu
Hello, I noticed several warings while compiling haproxy with clang (from FreeBSD 9.1 base system). * 145 unused-value regarding mini-clist.h (LIST_ADD, LIST_ADDQ, LIST_DEL) and standard.h (UBOUND src/haproxy.c:1206:4: warning: expression result unused [-Wunused-value]