Project

General

Profile

Bug #10710 ยป 05-fix-packed-bitfield-compat-warning-for-older-gccs.patch

drkaes (Stefan Kaes), 01/07/2015 06:52 PM

View differences:

configure.in
788 788
if test "$GCC:${warnflags+set}:no" = yes::no; then
789 789
    if test $gcc_major -ge 4; then
790 790
	extra_warning=-Werror=extra-tokens
791
        if test $gcc_major -gt 4 -o $gcc_minor -ge 4; then
792
            extra_warning="$extra_warning -Wno-packed-bitfield-compat"
793
        fi
791 794
    else
792 795
	extra_warning=
793 796
    fi
......
801 804
		 -Werror=implicit-function-declaration \
802 805
		 -Werror=division-by-zero \
803 806
		 -Werror=deprecated-declarations \
804
		 -Wno-packed-bitfield-compat \
805 807
		 $extra_warning \
806 808
		 ; do
807 809
	if test "$particular_werror_flags" != yes; then