Re: [Qemu-devel] [PATCH] build: compile gtk.c with special CFLAGS

2013-03-04 Thread Anthony Liguori
Blue Swirl writes: > On Mon, Mar 4, 2013 at 8:29 PM, Anthony Liguori wrote: >> Blue Swirl writes: >> >>> On Sun, Mar 3, 2013 at 9:03 PM, Anthony Liguori wrote: Blue Swirl writes: > Compile gtk.c with special CFLAGS instead of disabling -Werror globally. > > Signed-off-by

Re: [Qemu-devel] [PATCH] build: compile gtk.c with special CFLAGS

2013-03-04 Thread Blue Swirl
On Mon, Mar 4, 2013 at 8:29 PM, Anthony Liguori wrote: > Blue Swirl writes: > >> On Sun, Mar 3, 2013 at 9:03 PM, Anthony Liguori wrote: >>> Blue Swirl writes: >>> Compile gtk.c with special CFLAGS instead of disabling -Werror globally. Signed-off-by: Blue Swirl >>> >>> I thought

Re: [Qemu-devel] [PATCH] build: compile gtk.c with special CFLAGS

2013-03-04 Thread Anthony Liguori
Blue Swirl writes: > On Sun, Mar 3, 2013 at 9:03 PM, Anthony Liguori wrote: >> Blue Swirl writes: >> >>> Compile gtk.c with special CFLAGS instead of disabling -Werror globally. >>> >>> Signed-off-by: Blue Swirl >> >> I thought Kevin's pragma trick solved this problem? > > Not in all cases it

Re: [Qemu-devel] [PATCH] build: compile gtk.c with special CFLAGS

2013-03-04 Thread Blue Swirl
On Sun, Mar 3, 2013 at 9:03 PM, Anthony Liguori wrote: > Blue Swirl writes: > >> Compile gtk.c with special CFLAGS instead of disabling -Werror globally. >> >> Signed-off-by: Blue Swirl > > I thought Kevin's pragma trick solved this problem? Not in all cases it seems. > > Are you attempting to

Re: [Qemu-devel] [PATCH] build: compile gtk.c with special CFLAGS

2013-03-03 Thread Anthony Liguori
Blue Swirl writes: > Compile gtk.c with special CFLAGS instead of disabling -Werror globally. > > Signed-off-by: Blue Swirl I thought Kevin's pragma trick solved this problem? Are you attempting to avoid disabling Werror when prgram isn't available? That seems to defeat the purpose of doing t