Line
Link Here
|
0 |
-- a/bin/misc-functions.sh |
0 |
++ b/bin/misc-functions.sh |
Lines 691-722
install_qa_check() {
Link Here
|
691 |
reset_debug=1 |
691 |
reset_debug=1 |
692 |
fi |
692 |
fi |
693 |
local m msgs=( |
693 |
local m msgs=( |
694 |
": warning: dereferencing type-punned pointer will break strict-aliasing rules" |
694 |
"warning: .*will break strict-aliasing rules" |
695 |
": warning: dereferencing pointer .* does break strict-aliasing rules" |
695 |
"warning: .*does break strict-aliasing rules" |
696 |
": warning: implicit declaration of function" |
696 |
"warning: .*\\[-Wimplicit-function-declaration\\]" |
697 |
": warning: incompatible implicit declaration of built-in function" |
697 |
"warning: .*\\[-Wuninitialized\\]" |
698 |
": warning: is used uninitialized in this function" # we'll ignore "may" and "might" |
698 |
"warning: .*comparisons like .*do not have their mathematical meaning" |
699 |
": warning: comparisons like X<=Y<=Z do not have their mathematical meaning" |
699 |
"warning: .*\\[-Wnonnull\\]" |
700 |
": warning: null argument where non-null required" |
700 |
"warning: .*\\[-Warray-bounds\\]" |
701 |
": warning: array subscript is below array bounds" |
701 |
"warning: .*\\[-Wfree-nonheap-object\\]" |
702 |
": warning: array subscript is above array bounds" |
702 |
"warning: .*will always overflow destination buffer" |
703 |
": warning: attempt to free a non-heap object" |
703 |
"warning: .*assuming pointer wraparound does not occur" |
704 |
": warning: .* called with .*bigger.* than .* destination buffer" |
704 |
"warning: .*escape sequence out of range" |
705 |
": warning: call to .* will always overflow destination buffer" |
705 |
"warning: .*[^ ]-hand operand of comma expression has no effect" |
706 |
": warning: assuming pointer wraparound does not occur when comparing" |
706 |
"warning: .*converting to non-pointer type .*from NULL" |
707 |
": warning: hex escape sequence out of range" |
707 |
"warning: .*passing NULL to non-pointer argument" |
708 |
": warning: [^ ]*-hand operand of comma .*has no effect" |
708 |
"warning: .*NULL used in arithmetic" |
709 |
": warning: converting to non-pointer type .* from NULL" |
709 |
"warning: .*the address of .*will always evaluate as" |
710 |
": warning: NULL used in arithmetic" |
710 |
"warning: .*the address of .*will never be NULL" |
711 |
": warning: passing NULL to non-pointer argument" |
711 |
"warning: .*too few arguments for format" |
712 |
": warning: the address of [^ ]* will always evaluate as" |
712 |
"warning: .*\\[-Wreturn-local-addr\\]" |
713 |
": warning: the address of [^ ]* will never be NULL" |
713 |
"warning: .*\\[-Wsizeof-pointer-memaccess\\]" |
714 |
": warning: too few arguments for format" |
714 |
"warning: .*\\[-Waggressive-loop-optimizations\\]" |
715 |
": warning: reference to local variable .* returned" |
|
|
716 |
": warning: returning reference to temporary" |
717 |
": warning: function returns address of local variable" |
718 |
": warning: .*\\[-Wsizeof-pointer-memaccess\\]" |
719 |
": warning: .*\\[-Waggressive-loop-optimizations\\]" |
720 |
# this may be valid code :/ |
715 |
# this may be valid code :/ |
721 |
#": warning: multi-character character constant" |
716 |
#": warning: multi-character character constant" |
722 |
# need to check these two ... |
717 |
# need to check these two ... |