Flag -Wsizeof-pointer-memaccess warnings.
authorRyan Hill <dirtyepic@gentoo.org>
Sat, 18 May 2013 18:57:28 +0000 (11:57 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 18 May 2013 18:57:28 +0000 (11:57 -0700)
This will fix bug #470224.

bin/misc-functions.sh

index cebc67f75a65c885aa294cc9745e4d11dbedd2f1..ad99d8a320feb52ab1def38663e638d8776f122e 100755 (executable)
@@ -698,6 +698,7 @@ install_qa_check() {
                        ": warning: reference to local variable .* returned"
                        ": warning: returning reference to temporary"
                        ": warning: function returns address of local variable"
+                       ": warning: .*\\[-Wsizeof-pointer-memaccess\\]"
                        # this may be valid code :/
                        #": warning: multi-character character constant"
                        # need to check these two ...