# HG changeset patch # User chainsaw # Date 1146488233 25200 # Node ID e4089d6b0fcff009fbc017f830f12ce51b5d6913 # Parent 3d2984564cb8b5611bcb6f640f012f5e72c280bb [svn] Reduce amount of emitted GCC 4.1 warnings to 6. For that boring rainy afternoon, remove the two -Wno statements in CFLAGS (configure.ac) and you will see the actual amount. diff -r 3d2984564cb8 -r e4089d6b0fcf Plugins/Input/aac/src/libmp4.c --- a/Plugins/Input/aac/src/libmp4.c Sun Apr 30 18:04:43 2006 -0700 +++ b/Plugins/Input/aac/src/libmp4.c Mon May 01 05:57:13 2006 -0700 @@ -545,7 +545,7 @@ input->file_name = (char*)g_basename(temp); input->file_ext = ext ? ext+1 : NULL; input->file_path = temp; - if(!strncmp(buffer, "ID3", 3)){ + if(!strncmp((char*)buffer, "ID3", 3)){ gint size = 0; vfs_fseek(file, 0, SEEK_SET); diff -r 3d2984564cb8 -r e4089d6b0fcf Plugins/Input/sid/xs_length.c --- a/Plugins/Input/sid/xs_length.c Sun Apr 30 18:04:43 2006 -0700 +++ b/Plugins/Input/sid/xs_length.c Mon May 01 05:57:13 2006 -0700 @@ -402,6 +402,7 @@ t_xs_md5state inState; t_xs_psidv1_header psidH; t_xs_psidv2_header psidH2; + psidH2.flags = 0; #ifdef XS_BUF_DYNAMIC guint8 *songData; #else diff -r 3d2984564cb8 -r e4089d6b0fcf configure.ac --- a/configure.ac Sun Apr 30 18:04:43 2006 -0700 +++ b/configure.ac Mon May 01 05:57:13 2006 -0700 @@ -693,7 +693,7 @@ if test -n "$GCC" then - CFLAGS="$CFLAGS -Wall -Wno-unused-parameter -Wpointer-arith -finline-functions -ffast-math" + CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing -Wno-unused-parameter -Wpointer-arith -finline-functions -ffast-math" case "$CFLAGS" in -g*) ;; *\ -g*) ;;