Skip to contentSkip to conversation

configure: Keep -Werror enabled for Release Candidates

PATCH Andreas Färber 1 participant 1 message Feb 1, 2013 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

Am 27.01.2013 16:20, schrieb Andreas Färber:

Quoted 14 lines

Am 27.01.2013 16:16, schrieb Andreas Färber:

Quoted 5 lines

The automatic drop of -Werror during the RC phases has in the past led to warnings creeping into submaintainer trees.

Last QEMU Summit it was concluded that -Werror should stay on and enabled only as part of the release process.

be disabled, obviously :)

Quoted 5 lines

To relieve our release manager, instead of always enabling -Werror or doing some number magic, let's enable it depending on whether a .git/ directory exists in the source tree.

Big PING for rc0!

Andreas

Quoted 18 lines
Quoted 17 lines
---
 configure |    2 +-

1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

configure +1 -1
index b7635e4..0657b1a 100755
@@ -1180,7 +1180,7 @@ fi
 z_version=`cut -f3 -d. $source_path/VERSION`
 
 if test -z "$werror" ; then
-    if test "$z_version" = "50" -a \
+    if test -d "$source_path/.git" -a \
         "$linux" = "yes" ; then
         werror="yes"
     else
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg