]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Update how to compile with -Werror
authorDoug Goldstein <cardoe@cardoe.com>
Mon, 24 Sep 2012 23:44:34 +0000 (18:44 -0500)
committerCole Robinson <crobinso@redhat.com>
Wed, 17 Oct 2012 20:18:22 +0000 (16:18 -0400)
--enable-compile-warnings=error has been renamed to --enable-werror so
update the HACKING and the hacking.html to reflect that.
(cherry picked from commit 07cbb610ba6c116af6c81c2b53fa74f4fe1e5aba)

HACKING
docs/hacking.html.in

diff --git a/HACKING b/HACKING
index da5e771bd3f05e2761a298486163741f7fd1d3f7..d765be933990d341596fc6ae6cc121ae696ce613 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -73,9 +73,10 @@ things).
 and don't care much about released versions.
 
 (5) Run the automated tests on your code before submitting any changes. In
-particular, configure with compile warnings set to -Werror:
+particular, configure with compile warnings set to -Werror. This is done
+automatically for a git checkout; from a tarball, use:
 
-  ./configure --enable-compile-warnings=error
+  ./configure --enable-werror
 
 and run the tests:
 
index a97dc225f4deee75c15e95ca1fdae30db1c6016b..9de5eb196274991577ec236c6cca82e7ee45b9dd 100644 (file)
       <li>Make sure your patches apply against libvirt GIT.  Developers
         only follow GIT and don't care much about released versions.</li>
       <li><p>Run the automated tests on your code before submitting any changes.
-          In particular, configure with compile warnings set to -Werror:</p>
+          In particular, configure with compile warnings set to
+          -Werror.  This is done automatically for a git checkout; from a
+          tarball, use:</p>
 <pre>
-  ./configure --enable-compile-warnings=error
+  ./configure --enable-werror
 </pre>
         <p>
           and run the tests: