Bug #268929 - Add grep for 'dereferencing pointer' messages produced by
authorZac Medico <zmedico@gentoo.org>
Sun, 31 May 2009 06:16:58 +0000 (06:16 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 31 May 2009 06:16:58 +0000 (06:16 -0000)
gcc 4.4. Thanks to ABCD <en.ABCD@gmail.com> for this patch.

svn path=/main/trunk/; revision=13626

bin/misc-functions.sh

index b3b01cbc1ed211e682c8bd965f71e8469833dbcf..f8ba5eb124e0049dd410bab90db47a57516eff22 100755 (executable)
@@ -361,6 +361,7 @@ install_qa_check() {
        if [[ -n ${PORTAGE_LOG_FILE} && -r ${PORTAGE_LOG_FILE} ]] ; then
                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"