[libvirt] [PATCH] Update how to compile with -Werror

Daniel P. Berrange berrange at redhat.com
Tue Sep 25 09:33:08 UTC 2012


On Tue, Sep 25, 2012 at 09:38:42AM +0200, Jiri Denemark wrote:
> On Mon, Sep 24, 2012 at 18:44:34 -0500, Doug Goldstein wrote:
> > --enable-compile-warnings=error has been renamed to --enable-werror so
> > update the HACKING and the hacking.html to reflect that.
> > ---
> >  docs/hacking.html.in |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/docs/hacking.html.in b/docs/hacking.html.in
> > index a97dc22..c3f859c 100644
> > --- a/docs/hacking.html.in
> > +++ b/docs/hacking.html.in
> > @@ -76,7 +76,7 @@
> >        <li><p>Run the automated tests on your code before submitting any changes.
> >            In particular, configure with compile warnings set to -Werror:</p>
> >  <pre>
> > -  ./configure --enable-compile-warnings=error
> > +  ./configure --enable-werror
> >  </pre>
> >          <p>
> >            and run the tests:
> 
> ACK


BTW, if you are running ./configure from a GIT checkout, then the
--enable-werror flag is automaticaly enabled without asking. You
only need to manually specify it if building fromm a tar.gz dist


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list