Re: [Qemu-devel] [PATCH] Fix gcc-4.6 compiler error

2011-08-18 Thread Zhi Yong Wu
On Thu, Aug 18, 2011 at 12:28 PM, Peter Maydell wrote: > On 18 August 2011 05:16, Zhi Yong Wu wrote: >> I have also met this problem on fedora 15 today. Currently i disable >> werror option to build successfully. How to completely this problem >> regardless of gcc>=4.6? > > Hmm, this should have

Re: [Qemu-devel] [PATCH] Fix gcc-4.6 compiler error

2011-08-17 Thread Peter Maydell
On 18 August 2011 05:16, Zhi Yong Wu wrote: > I have also met this problem on fedora 15 today. Currently i disable > werror option to build successfully. How to completely this problem > regardless of gcc>=4.6? Hmm, this should have been fixed by commit 257a73755. Can you tell us which git revisi

Re: [Qemu-devel] [PATCH] Fix gcc-4.6 compiler error

2011-08-17 Thread Zhi Yong Wu
On Mon, Aug 1, 2011 at 8:30 AM, Anthony Liguori wrote: > On 07/29/2011 07:18 PM, Peter Maydell wrote: >> >> On 29 July 2011 20:30, Stefan Weil  wrote: >>> >>> Commit 3d3b8303c6f83b9b245bc774af530a6403cc4ce6 >>> breaks builds with gcc-4.6: >>> >>> hw/fw_cfg.c: In function ‘probe_splashfile’: >>> hw

Re: [Qemu-devel] [PATCH] Fix gcc-4.6 compiler error

2011-07-31 Thread Anthony Liguori
On 07/29/2011 07:18 PM, Peter Maydell wrote: On 29 July 2011 20:30, Stefan Weil wrote: Commit 3d3b8303c6f83b9b245bc774af530a6403cc4ce6 breaks builds with gcc-4.6: hw/fw_cfg.c: In function ‘probe_splashfile’: hw/fw_cfg.c:66:9: error: variable ‘fop_ret’ set but not used [-Werror=unused-but-set-

Re: [Qemu-devel] [PATCH] Fix gcc-4.6 compiler error

2011-07-29 Thread Peter Maydell
On 29 July 2011 20:30, Stefan Weil wrote: > Commit 3d3b8303c6f83b9b245bc774af530a6403cc4ce6 > breaks builds with gcc-4.6: > > hw/fw_cfg.c: In function ‘probe_splashfile’: > hw/fw_cfg.c:66:9: error: variable ‘fop_ret’ set but not used > [-Werror=unused-but-set-variable] > hw/fw_cfg.c: In function

[Qemu-devel] [PATCH] Fix gcc-4.6 compiler error

2011-07-29 Thread Stefan Weil
Commit 3d3b8303c6f83b9b245bc774af530a6403cc4ce6 breaks builds with gcc-4.6: hw/fw_cfg.c: In function ‘probe_splashfile’: hw/fw_cfg.c:66:9: error: variable ‘fop_ret’ set but not used [-Werror=unused-but-set-variable] hw/fw_cfg.c: In function ‘fw_cfg_bootsplash’: hw/fw_cfg.c:130:9: error: variable