Re: [PATCH] Update how to compile with -Werror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]