changeset 2315:af0e789e70a7 trunk

[svn] Add -Wall to CFLAGS by default if the CC is gcc
author js
date Fri, 12 Jan 2007 12:32:12 -0800
parents d5d95a459a19
children c22fe69a842d
files ChangeLog configure.ac
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jan 12 11:53:37 2007 -0800
+++ b/ChangeLog	Fri Jan 12 12:32:12 2007 -0800
@@ -1,3 +1,12 @@
+2007-01-12 19:53:37 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [3638]
+  - fix: E:configdb_rcfile.c(45) [bmp_cfg_db_open]:Autoconversion of integer to pointer is not allowed in C99
+  - successfully build on solaris with sun studio
+  
+  trunk/src/libaudacious/configdb_rcfile.c |    1 +
+  1 file changed, 1 insertion(+)
+
+
 2007-01-12 19:43:40 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [3636]
   - objective-make autodepend fixes
--- a/configure.ac	Fri Jan 12 11:53:37 2007 -0800
+++ b/configure.ac	Fri Jan 12 12:32:12 2007 -0800
@@ -37,6 +37,8 @@
 AC_ISC_POSIX
 AC_C_BIGENDIAN
 
+test x"$GCC" = x"yes" && CFLAGS="$CFLAGS -Wall"
+
 dnl Check for assembler
 
 AM_PROG_AS