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

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

2013-03-03 Thread Blue Swirl
Compile gtk.c with special CFLAGS instead of disabling -Werror globally. Signed-off-by: Blue Swirl --- configure| 12 +++- ui/Makefile.objs |2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 19738ac..2a043d6 100755 --- a/confi