mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
Update how to compile with -Werror
--enable-compile-warnings=error has been renamed to --enable-werror so update the HACKING and the hacking.html to reflect that.
This commit is contained in:
committed by
Eric Blake
parent
35fe4e7e2e
commit
07cbb610ba
@@ -74,9 +74,11 @@
|
||||
<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:
|
||||
|
||||
Reference in New Issue
Block a user