From 9eaafe84a26d2a22487f5b1a2d16858f5d7b149e Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Wed, 21 Jun 2006 14:35:32 +0000 Subject: [PATCH] Enabled additional compiler warnings and more strict checks for standard C++ --- config/config.mk.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/config.mk.in b/config/config.mk.in index dec4e757..c8eb50bf 100644 --- a/config/config.mk.in +++ b/config/config.mk.in @@ -44,7 +44,7 @@ GXX = @GXX@ # Common compiler flags (warnings, symbols [-ggdb], optimization [-O2], etc) CXXFLAGS = @CXXFLAGS@ ifeq ($(GXX),yes) - CXXFLAGS += -Wall + CXXFLAGS += -ansi -pedantic -Wall -Wundef -Wcast-align -Wconversion -Wpointer-arith -Wformat-security -Wmissing-format-attribute -W endif # Command to run only the preprocessor @@ -124,7 +124,9 @@ srcdir = @srcdir@ # Installation directories bindir = @bindir@ +datarootdir = @datarootdir@ +datadir = @datadir@ incdir = @includedir@/exiv2 libdir = @libdir@ mandir = @mandir@ -man1dir = @mandir@/man1 +man1dir = $(mandir)/man1