From 0e34ca14de840baaccadce1014bf4ae1a1ab8980 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 18 Jul 2006 04:02:45 +0000 Subject: Stricter warnings for --enable-strict git-svn-id: http://svn.drobilla.net/lad/patchage@93 a436a847-0d15-0410-975c-d299462d15a1 --- configure.ac | 4 ++-- src/Driver.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 2e0c9cd..f905467 100644 --- a/configure.ac +++ b/configure.ac @@ -88,8 +88,8 @@ 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 diff --git a/src/Driver.h b/src/Driver.h index 43b919a..1b7ad80 100644 --- a/src/Driver.h +++ b/src/Driver.h @@ -35,7 +35,7 @@ public: { return false; } virtual bool disconnect(const PatchagePort* src_port, - const PatchagePort* dst_port) + const PatchagePort* dst_port) { return false; } /** Returns whether or not a refresh is required. */ -- cgit v1.2.1