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
if test "$GCC:${warnflags+set}:no" = yes::no; then
if test $gcc_major -ge 4; then
extra_warning=-Werror=extra-tokens
if test $gcc_major -gt 4 -o $gcc_minor -ge 4; then
extra_warning="$extra_warning -Wno-packed-bitfield-compat"
fi
else
extra_warning=
fi
......
-Werror=implicit-function-declaration \
-Werror=division-by-zero \
-Werror=deprecated-declarations \
-Wno-packed-bitfield-compat \
$extra_warning \
; do
if test "$particular_werror_flags" != yes; then
    (1-1/1)