From 7b7a3adaff653476ae4593ccbc90a46af958be1a Mon Sep 17 00:00:00 2001 From: ddennedy Date: Fri, 10 Apr 2009 07:22:55 +0000 Subject: [PATCH] Add more warnings Signed-off-by: Ray Lehtiniemi git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@1388 d19143bc-622f-0410-bfdd-b5b2a6649095 --- mlt++/configure | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/mlt++/configure b/mlt++/configure index 9a3cb1b..8b099b3 100755 --- a/mlt++/configure +++ b/mlt++/configure @@ -33,6 +33,8 @@ echo "libdir=$libdir" >> config.mak targetos=$(uname -s) echo "targetos=$targetos" >> config.mak +WARNINGS="-W -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wredundant-decls" + case $targetos in Darwin) echo LIBSUF=.dylib @@ -42,7 +44,7 @@ case $targetos in ;; Linux|FreeBSD) echo LIBSUF=.so - echo "CXXFLAGS+=-pthread -Wall -fPIC `pkg-config --cflags mlt-framework`" + echo "CXXFLAGS+=-pthread -Wall $WARNINGS -fPIC `pkg-config --cflags mlt-framework`" echo "LIBFLAGS=-shared" echo "LDFLAGS+=`pkg-config --libs mlt-framework` `pkg-config mlt-miracle --libs`" ;; -- 1.7.4.4