From 1e8446024a3ccb2458a17b5502c78c2dd00a2c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Fri, 18 Oct 2019 22:59:49 +0200 Subject: [PATCH] docs: hacking: remove notes about -Werror MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our HACKING file is clear about requiring submission from a git checkout, which automatically enables -Werror. Remove the mentions of explicitly enabling it to alleviate the collective cognitive encumbrance. Signed-off-by: Ján Tomko Reviewed-by: Daniel P. Berrangé Reviewed-by: Andrea Bolognani --- docs/hacking.html.in | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/docs/hacking.html.in b/docs/hacking.html.in index c6ab15206a..cad0f1e8c1 100644 --- a/docs/hacking.html.in +++ b/docs/hacking.html.in @@ -141,14 +141,7 @@
  • Run the automated tests on your code before submitting any changes. - In particular, configure with compile warnings set to - -Werror. This is done automatically for a git checkout; from a - tarball, use:

    -
    -  ./configure --enable-werror
    -
    -

    - and run the tests: + That is:

       make check
    @@ -1474,14 +1467,7 @@ int foo()
           how things work, it's better
           to wait for a more authoritative feedback though. Before committing, please
           also rebuild locally, run 'make check syntax-check', and make sure you
    -      don't raise errors. Try to look for warnings too; for example,
    -      configure with
    -    

    -
    -  --enable-compile-warnings=error
    -
    -

    - which adds -Werror to compile flags, so no warnings get missed + don't raise errors.

    -- GitLab