On Mon, Mar 21, 2011 at 05:32:20PM +0200, Alon Levy wrote: > On Mon, Mar 21, 2011 at 05:24:54PM +0200, Alon Levy wrote: > > On Mon, Mar 21, 2011 at 04:20:29PM +0100, Christophe Fergeau wrote: > > > When compiling spice with make CFLAGS="-g3 -ggdb3 -O0 -Wall -Werror", > > > the build broken because of a few unused variables/missing returns. > > > This patch fixes these warnings. > > > > btw, while you're at it, mind trying to compile with clang?
I ran some tests, spice compiled fine with clang using make CC="clang" CXX=clang++ CFLAGS="-Wall -Werror -g3 -ggdb3 -O3" CXXFLAGS="-Wall -Werror -g3 -ggdb3 -O3", I don't know if there is a magical "clang warning" flags to set in addition to that. I hit a compilation error with spice-gtk which I'm trying to figure out. Christophe
pgpBiEQ3y9Fa3.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel