[Spice-devel] [PATCH] tests: fix compilation with -Wall -Werror
Christophe Fergeau
cfergeau at gmail.com
Mon Mar 21 10:47:20 PDT 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110321/b9ccd152/attachment.pgp>
More information about the Spice-devel
mailing list