From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:2.1.9 commit in: bin/
Date: Wed, 4 May 2011 20:03:29 +0000 (UTC) [thread overview]
Message-ID: <93f76d6a50383ef1976626ac6e371dba302c751a.zmedico@gentoo> (raw)
commit: 93f76d6a50383ef1976626ac6e371dba302c751a
Author: Ryan Hill <dirtyepic <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 21:16:20 2011 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed May 4 19:26:50 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=93f76d6a
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=1
fi
local m msgs=(
- ": warning: dereferencing type-punned pointer will break strict-aliasing 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<=Y<=Z do not have their mathematical 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-aliasing 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<=Y<=Z do not have their mathematical 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 behav"
# yacc/lex likes to trigger this one
#": warning: extra tokens at end of .* directive"
@@ -598,7 +598,7 @@ install_qa_check() {
abort="yes"
# for now, don't make this fatal (see bug #337031)
#case "$m" in
- # ": warning: call to .* will always overflow destination buffer$") always_overflow=yes ;;
+ # ": warning: call to .* will always overflow destination buffer") always_overflow=yes ;;
#esac
if [[ $always_overflow = yes ]] ; then
eerror
next reply other threads:[~2011-05-04 20:05 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 20:03 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-05-26 6:18 [gentoo-commits] proj/portage:2.1.9 commit in: bin/ Zac Medico
2011-05-26 6:18 Zac Medico
2011-05-05 6:48 Zac Medico
2011-05-04 20:03 Zac Medico
2011-05-04 20:03 Zac Medico
2011-05-04 20:03 Zac Medico
2011-05-04 20:03 Zac Medico
2011-05-04 20:03 Zac Medico
2011-04-14 1:57 Zac Medico
2011-04-13 7:52 Zac Medico
2011-04-13 7:52 Zac Medico
2011-04-13 7:52 Zac Medico
2011-04-13 7:52 Zac Medico
2011-03-27 20:03 Zac Medico
2011-03-26 19:31 Zac Medico
2011-03-26 19:31 Zac Medico
2011-03-18 21:12 Zac Medico
2011-03-18 21:12 Zac Medico
2011-03-14 16:24 Zac Medico
2011-03-02 0:56 Zac Medico
2011-03-01 20:55 Zac Medico
2011-02-22 3:14 Zac Medico
2011-02-20 0:04 Zac Medico
2011-02-20 0:04 Zac Medico
2011-02-14 4:31 Zac Medico
2011-02-14 4:31 Zac Medico
2011-02-07 0:29 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=93f76d6a50383ef1976626ac6e371dba302c751a.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox