Lines 29-40
Link Here
|
29 |
|
29 |
|
30 |
ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default" |
30 |
ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default" |
31 |
if test "x$ac_cv_header_wchar_h" = xyes; then : |
31 |
if test "x$ac_cv_header_wchar_h" = xyes; then : |
32 |
@@ -22238,7 +22229,7 @@ |
32 |
@@ -22242,7 +22233,7 @@ |
33 |
|
33 |
|
34 |
### General flags / actions |
|
|
35 |
CFLAGS="$CFLAGS -Wall" |
36 |
-CFLAGS="$CFLAGS -Werror" |
37 |
+CFLAGS="$CFLAGS -Werror -Wno-unused-function" |
38 |
|
39 |
# -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' in Xlib.h on OpenSolaris. |
34 |
# -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' in Xlib.h on OpenSolaris. |
40 |
for TEST_CFLAG in -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing \ |
35 |
for TEST_CFLAG in -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing \ |
|
|
36 |
- -Wno-unknown-pragmas -Wno-uninitialized; do |
37 |
+ -Wno-unknown-pragmas -Wno-uninitialized -Wno-unused-function -Wno-address-of-packed-member; do |
38 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC flag $TEST_CFLAG" >&5 |
39 |
$as_echo_n "checking for GCC flag $TEST_CFLAG... " >&6; } |
40 |
ORIGINAL_CFLAGS="$CFLAGS" |