merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-02-22 22:53:49 +00:00
parent fdd33866b4
commit 6204abdae2
10 changed files with 99 additions and 75 deletions

View File

@@ -364,7 +364,7 @@ TOAST_INSTALL_TARGETS = \
# Default rules
.c.o:
$(CC) $(CFLAGS) $?
$(CC) $(CFLAGS:-Werror=) $?
@-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
# Target rules