Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 375452 Details for
Bug 508364
sys-apps/portage - update compiler warning QA for GCC 4.9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-gcc49-qa-warnings.patch
portage-gcc49-qa-warnings.patch (text/plain), 2.92 KB, created by
Ryan Hill (RETIRED)
on 2014-04-22 06:40:20 UTC
(
hide
)
Description:
portage-gcc49-qa-warnings.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2014-04-22 06:40:20 UTC
Size:
2.92 KB
patch
obsolete
>Adjust patterns to be compatible with -fdiagnostics-color. > > >--- a/bin/misc-functions.sh >+++ b/bin/misc-functions.sh >@@ -691,32 +691,27 @@ 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: 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: converting to non-pointer type .* from NULL" >- ": 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" >- ": warning: too few arguments for format" >- ": warning: reference to local variable .* returned" >- ": warning: returning reference to temporary" >- ": warning: function returns address of local variable" >- ": warning: .*\\[-Wsizeof-pointer-memaccess\\]" >- ": warning: .*\\[-Waggressive-loop-optimizations\\]" >+ "warning: .*will break strict-aliasing rules" >+ "warning: .*does break strict-aliasing rules" >+ "warning: .*\\[-Wimplicit-function-declaration\\]" >+ "warning: .*\\[-Wuninitialized\\]" >+ "warning: .*comparisons like .*do not have their mathematical meaning" >+ "warning: .*\\[-Wnonnull\\]" >+ "warning: .*\\[-Warray-bounds\\]" >+ "warning: .*\\[-Wfree-nonheap-object\\]" >+ "warning: .*will always overflow destination buffer" >+ "warning: .*assuming pointer wraparound does not occur" >+ "warning: .*escape sequence out of range" >+ "warning: .*[^ ]-hand operand of comma expression has no effect" >+ "warning: .*converting to non-pointer type .*from NULL" >+ "warning: .*passing NULL to non-pointer argument" >+ "warning: .*NULL used in arithmetic" >+ "warning: .*the address of .*will always evaluate as" >+ "warning: .*the address of .*will never be NULL" >+ "warning: .*too few arguments for format" >+ "warning: .*\\[-Wreturn-local-addr\\]" >+ "warning: .*\\[-Wsizeof-pointer-memaccess\\]" >+ "warning: .*\\[-Waggressive-loop-optimizations\\]" > # this may be valid code :/ > #": warning: multi-character character constant" > # need to check these two ...
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 508364
:
375452
|
384614