Re: [Qemu-devel] [PATCH 1/2] compiler: add ignore_value() macro

2016-11-18 Thread Eric Blake
On 10/25/2016 10:21 AM, Felipe Franciosi wrote: > >> On 12 Oct 2016, at 18:20, Felipe Franciosi wrote: >> >> >>> On 21 Sep 2016, at 19:15, Eric Blake wrote: >>> >>> On 09/21/2016 10:27 AM, Felipe Franciosi wrote: On GCC versions 3.4 and newer, simply using (void) in front of a function

Re: [Qemu-devel] [PATCH 1/2] compiler: add ignore_value() macro

2016-10-25 Thread Felipe Franciosi
> On 12 Oct 2016, at 18:20, Felipe Franciosi wrote: > > >> On 21 Sep 2016, at 19:15, Eric Blake wrote: >> >> On 09/21/2016 10:27 AM, Felipe Franciosi wrote: >>> On GCC versions 3.4 and newer, simply using (void) in front of a >>> function that has been declared with WUR will no longer suppres

Re: [Qemu-devel] [PATCH 1/2] compiler: add ignore_value() macro

2016-10-12 Thread Felipe Franciosi
> On 21 Sep 2016, at 19:15, Eric Blake wrote: > > On 09/21/2016 10:27 AM, Felipe Franciosi wrote: >> On GCC versions 3.4 and newer, simply using (void) in front of a >> function that has been declared with WUR will no longer suppress a >> compilation warning. This commit brings the ignore_value(

Re: [Qemu-devel] [PATCH 1/2] compiler: add ignore_value() macro

2016-09-21 Thread Eric Blake
On 09/21/2016 10:27 AM, Felipe Franciosi wrote: > On GCC versions 3.4 and newer, simply using (void) in front of a > function that has been declared with WUR will no longer suppress a > compilation warning. This commit brings the ignore_value() macro from > GNULIB's ignore_value.h, licensed under t

[Qemu-devel] [PATCH 1/2] compiler: add ignore_value() macro

2016-09-21 Thread Felipe Franciosi
On GCC versions 3.4 and newer, simply using (void) in front of a function that has been declared with WUR will no longer suppress a compilation warning. This commit brings the ignore_value() macro from GNULIB's ignore_value.h, licensed under the terms of LGPLv2+. See the link below for the origina