Re: [PATCH 07/12] util/util.c: avoid clang error on vsnprintf

2015-07-20 Thread Andre Przywara
Hi Claudio, On 20/07/15 15:28, Claudio Fontana wrote: > On 17.07.2015 18:50, Will Deacon wrote: >> On Fri, Jul 17, 2015 at 05:02:13PM +0100, Andre Przywara wrote: >>> clang by default doesn't seem to like printf calls with non-literal >>> format strings. >>> Add the proper pragma to disable this w

Re: [PATCH 07/12] util/util.c: avoid clang error on vsnprintf

2015-07-20 Thread Claudio Fontana
On 17.07.2015 18:50, Will Deacon wrote: > On Fri, Jul 17, 2015 at 05:02:13PM +0100, Andre Przywara wrote: >> clang by default doesn't seem to like printf calls with non-literal >> format strings. >> Add the proper pragma to disable this warning in the report function >> to make kvmtool compile with

Re: [PATCH 07/12] util/util.c: avoid clang error on vsnprintf

2015-07-17 Thread Will Deacon
On Fri, Jul 17, 2015 at 05:02:13PM +0100, Andre Przywara wrote: > clang by default doesn't seem to like printf calls with non-literal > format strings. > Add the proper pragma to disable this warning in the report function > to make kvmtool compile with clang. Despite its GCC name, clang also > acc

[PATCH 07/12] util/util.c: avoid clang error on vsnprintf

2015-07-17 Thread Andre Przywara
clang by default doesn't seem to like printf calls with non-literal format strings. Add the proper pragma to disable this warning in the report function to make kvmtool compile with clang. Despite its GCC name, clang also accepts this. Signed-off-by: Andre Przywara --- util/util.c | 1 + 1 file