Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 364467
Collapse All | Expand All

(-)file_not_specified_in_diff (-19 / +19 lines)
Line  Link Here
0
-- a/bin/misc-functions.sh
0
++ b/bin/misc-functions.sh
Lines 549-571 install_qa_check() { Link Here
549
			reset_debug=1
549
			reset_debug=1
550
		fi
550
		fi
551
		local m msgs=(
551
		local m msgs=(
552
			": warning: dereferencing type-punned pointer will break strict-aliasing rules$"
552
			": warning: dereferencing type-punned pointer will break strict-aliasing rules"
553
			": warning: dereferencing pointer .* does break strict-aliasing rules$"
553
			": warning: dereferencing pointer .* does break strict-aliasing rules"
554
			": warning: implicit declaration of function "
554
			": warning: implicit declaration of function"
555
			": warning: incompatible implicit declaration of built-in function "
555
			": warning: incompatible implicit declaration of built-in function"
556
			": warning: is used uninitialized in this function$" # we'll ignore "may" and "might"
556
			": warning: is used uninitialized in this function" # we'll ignore "may" and "might"
557
			": warning: comparisons like X<=Y<=Z do not have their mathematical meaning$"
557
			": warning: comparisons like X<=Y<=Z do not have their mathematical meaning"
558
			": warning: null argument where non-null required "
558
			": warning: null argument where non-null required"
559
			": warning: array subscript is below array bounds$"
559
			": warning: array subscript is below array bounds"
560
			": warning: array subscript is above array bounds$"
560
			": warning: array subscript is above array bounds"
561
			": warning: attempt to free a non-heap object"
561
			": warning: attempt to free a non-heap object"
562
			": warning: .* called with .*bigger.* than .* destination buffer$"
562
			": warning: .* called with .*bigger.* than .* destination buffer"
563
			": warning: call to .* will always overflow destination buffer$"
563
			": warning: call to .* will always overflow destination buffer"
564
			": warning: assuming pointer wraparound does not occur when comparing "
564
			": warning: assuming pointer wraparound does not occur when comparing"
565
			": warning: hex escape sequence out of range$"
565
			": warning: hex escape sequence out of range"
566
			": warning: [^ ]*-hand operand of comma .*has no effect$"
566
			": warning: [^ ]*-hand operand of comma .*has no effect"
567
			": warning: converting to non-pointer type .* from NULL"
567
			": warning: converting to non-pointer type .* from NULL"
568
			": warning: NULL used in arithmetic$"
568
			": warning: NULL used in arithmetic"
569
			": warning: passing NULL to non-pointer argument"
569
			": warning: passing NULL to non-pointer argument"
570
			": warning: the address of [^ ]* will always evaluate as"
570
			": warning: the address of [^ ]* will always evaluate as"
571
			": warning: the address of [^ ]* will never be NULL"
571
			": warning: the address of [^ ]* will never be NULL"
Lines 574-582 install_qa_check() { Link Here
574
			": warning: returning reference to temporary"
574
			": warning: returning reference to temporary"
575
			": warning: function returns address of local variable"
575
			": warning: function returns address of local variable"
576
			# this may be valid code :/
576
			# this may be valid code :/
577
			#": warning: multi-character character constant$"
577
			#": warning: multi-character character constant"
578
			# need to check these two ...
578
			# need to check these two ...
579
			#": warning: assuming signed overflow does not occur when "
579
			#": warning: assuming signed overflow does not occur when"
580
			#": warning: comparison with string literal results in unspecified behav"
580
			#": warning: comparison with string literal results in unspecified behav"
581
			# yacc/lex likes to trigger this one
581
			# yacc/lex likes to trigger this one
582
			#": warning: extra tokens at end of .* directive"
582
			#": warning: extra tokens at end of .* directive"
Lines 598-604 install_qa_check() { Link Here
598
				abort="yes"
598
				abort="yes"
599
				# for now, don't make this fatal (see bug #337031)
599
				# for now, don't make this fatal (see bug #337031)
600
				#case "$m" in
600
				#case "$m" in
601
				#	": warning: call to .* will always overflow destination buffer$") always_overflow=yes ;;
601
				#	": warning: call to .* will always overflow destination buffer") always_overflow=yes ;;
602
				#esac
602
				#esac
603
				if [[ $always_overflow = yes ]] ; then
603
				if [[ $always_overflow = yes ]] ; then
604
					eerror
604
					eerror

Return to bug 364467