From 77f4688c1f0d97a24f5040552535a468e22cbaf8 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 18 Jul 2006 03:49:27 +0000 Subject: [PATCH] Stricter warnings git-svn-id: http://svn.drobilla.net/lad@92 a436a847-0d15-0410-975c-d299462d15a1 --- flowcanvas/configure.ac | 8 ++++---- flowcanvas/flowcanvas/FlowCanvas.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flowcanvas/configure.ac b/flowcanvas/configure.ac index 4f4cfe4f..e17b9b38 100644 --- a/flowcanvas/configure.ac +++ b/flowcanvas/configure.ac @@ -38,13 +38,13 @@ AC_ARG_ENABLE(strict, [strict="$enableval"]) if test "$strict" = "yes"; then # Useless POS gnomecanvasmm doesn't build w/ -pedantic - CFLAGS="$CFLAGS -ansi -Wall -Wconversion -Winit-self" - CXXFLAGS="$CXXFLAGS -ansi -Wall -Wconversion -Winit-self -Woverloaded-virtual -Wsign-promo" + CFLAGS="$CFLAGS -ansi -Wall -Wextra -Wno-unused-parameter -Wconversion -Winit-self" + CXXFLAGS="$CXXFLAGS -ansi -Wall -Wextra -Wno-unused-parameter -Wconversion -Winit-self -Woverloaded-virtual -Wsign-promo" fi # Bolt on a few specific flags to CXXFLAGS that should always be used -CXXFLAGS="$CXXFLAGS -pipe -Wall -fmessage-length=139 -fdiagnostics-show-location=every-line" -CFLAGS="$CFLAGS -pipe -Wall -fmessage-length=139 -fdiagnostics-show-location=every-line" +CXXFLAGS="$CXXFLAGS -pipe -fmessage-length=139 -fdiagnostics-show-location=every-line" +CFLAGS="$CFLAGS -pipe -fmessage-length=139 -fdiagnostics-show-location=every-line" # Check for GTKMM PKG_CHECK_MODULES(GTKMM, gtkmm-2.4) diff --git a/flowcanvas/flowcanvas/FlowCanvas.h b/flowcanvas/flowcanvas/FlowCanvas.h index 3a1126b8..ab600846 100644 --- a/flowcanvas/flowcanvas/FlowCanvas.h +++ b/flowcanvas/flowcanvas/FlowCanvas.h @@ -51,7 +51,7 @@ class Module; * * \ingroup FlowCanvas */ -class FlowCanvas : public /*CANVASBASE*/Gnome::Canvas::CanvasAA +class FlowCanvas : public /*CANVASBASE*/Gnome::Canvas::Canvas // The CANVASBASE is a hook for a sed script in configure.ac { public: