mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 12:41:29 +00: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. (cherry picked from commit 07cbb610ba6c116af6c81c2b53fa74f4fe1e5aba)
This commit is contained in:
parent
f35c18c783
commit
b53782f102
5
HACKING
5
HACKING
@ -73,9 +73,10 @@ things).
|
|||||||
and don't care much about released versions.
|
and don't care much about released versions.
|
||||||
|
|
||||||
(5) Run the automated tests on your code before submitting any changes. In
|
(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:
|
and run the tests:
|
||||||
|
|
||||||
|
@ -74,9 +74,11 @@
|
|||||||
<li>Make sure your patches apply against libvirt GIT. Developers
|
<li>Make sure your patches apply against libvirt GIT. Developers
|
||||||
only follow GIT and don't care much about released versions.</li>
|
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.
|
<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>
|
<pre>
|
||||||
./configure --enable-compile-warnings=error
|
./configure --enable-werror
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
and run the tests:
|
and run the tests:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user