changeset 995:e4089d6b0fcf trunk

[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.
author chainsaw
date Mon, 01 May 2006 05:57:13 -0700
parents 3d2984564cb8
children fb6570909c74
files Plugins/Input/aac/src/libmp4.c Plugins/Input/sid/xs_length.c configure.ac
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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
--- 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*) ;;