From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QEpeX-0008B7-Eq for garchives@archives.gentoo.org; Tue, 26 Apr 2011 21:18:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1044E1C021; Tue, 26 Apr 2011 21:18:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C21681C021 for ; Tue, 26 Apr 2011 21:18:29 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 638851B408A for ; Tue, 26 Apr 2011 21:18:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A8AC280505 for ; Tue, 26 Apr 2011 21:18:27 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <75b6eb59e2015e1b776ccb3cc92260072a6b0fb6.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/misc-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 75b6eb59e2015e1b776ccb3cc92260072a6b0fb6 Date: Tue, 26 Apr 2011 21:18:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 53750ae5bf67e47ff743514b91a39f95 commit: 75b6eb59e2015e1b776ccb3cc92260072a6b0fb6 Author: Ryan Hill gentoo org> AuthorDate: Tue Apr 26 21:16:20 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Apr 26 21:16:20 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D75b6eb59 Bug #364467 - handle gcc-4.6-style QA warnings --- bin/misc-functions.sh | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index ae4cc9e..4c5b61a 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -549,23 +549,23 @@ install_qa_check() { reset_debug=3D1 fi local m msgs=3D( - ": warning: dereferencing type-punned pointer will break strict-alias= ing rules$" - ": warning: dereferencing pointer .* does break strict-aliasing rules= $" - ": warning: implicit declaration of function " - ": warning: incompatible implicit declaration of built-in function " - ": warning: is used uninitialized in this function$" # we'll ignore "= may" and "might" - ": warning: comparisons like X<=3DY<=3DZ do not have their mathematic= al meaning$" - ": warning: null argument where non-null required " - ": warning: array subscript is below array bounds$" - ": warning: array subscript is above array bounds$" + ": warning: dereferencing type-punned pointer will break strict-alias= ing rules" + ": warning: dereferencing pointer .* does break strict-aliasing rules= " + ": warning: implicit declaration of function" + ": warning: incompatible implicit declaration of built-in function" + ": warning: is used uninitialized in this function" # we'll ignore "m= ay" and "might" + ": warning: comparisons like X<=3DY<=3DZ do not have their mathematic= al meaning" + ": warning: null argument where non-null required" + ": warning: array subscript is below array bounds" + ": warning: array subscript is above array bounds" ": warning: attempt to free a non-heap object" - ": warning: .* called with .*bigger.* than .* destination buffer$" - ": warning: call to .* will always overflow destination buffer$" - ": warning: assuming pointer wraparound does not occur when comparing= " - ": warning: hex escape sequence out of range$" - ": warning: [^ ]*-hand operand of comma .*has no effect$" + ": warning: .* called with .*bigger.* than .* destination buffer" + ": warning: call to .* will always overflow destination buffer" + ": warning: assuming pointer wraparound does not occur when comparing= " + ": warning: hex escape sequence out of range" + ": warning: [^ ]*-hand operand of comma .*has no effect" ": warning: converting to non-pointer type .* from NULL" - ": warning: NULL used in arithmetic$" + ": warning: NULL used in arithmetic" ": warning: passing NULL to non-pointer argument" ": warning: the address of [^ ]* will always evaluate as" ": warning: the address of [^ ]* will never be NULL" @@ -574,9 +574,9 @@ install_qa_check() { ": warning: returning reference to temporary" ": warning: function returns address of local variable" # this may be valid code :/ - #": warning: multi-character character constant$" + #": warning: multi-character character constant" # need to check these two ... - #": warning: assuming signed overflow does not occur when " + #": warning: assuming signed overflow does not occur when" #": warning: comparison with string literal results in unspecified be= hav" # yacc/lex likes to trigger this one #": warning: extra tokens at end of .* directive" @@ -598,7 +598,7 @@ install_qa_check() { abort=3D"yes" # for now, don't make this fatal (see bug #337031) #case "$m" in - # ": warning: call to .* will always overflow destination buffer$") = always_overflow=3Dyes ;; + # ": warning: call to .* will always overflow destination buffer") a= lways_overflow=3Dyes ;; #esac if [[ $always_overflow =3D yes ]] ; then eerror