summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-18 04:02:45 +0000
committerDavid Robillard <d@drobilla.net>2006-07-18 04:02:45 +0000
commit0e34ca14de840baaccadce1014bf4ae1a1ab8980 (patch)
tree5cdc9a58a0650d16c5843680d6f4d95e52c9f1d3
parent2f0e092964f800c0ff82cbd08bf2ee05db814e7b (diff)
downloadpatchage-0e34ca14de840baaccadce1014bf4ae1a1ab8980.tar.gz
patchage-0e34ca14de840baaccadce1014bf4ae1a1ab8980.tar.bz2
patchage-0e34ca14de840baaccadce1014bf4ae1a1ab8980.zip
Stricter warnings for --enable-strict
git-svn-id: http://svn.drobilla.net/lad/patchage@93 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--configure.ac4
-rw-r--r--src/Driver.h2
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. */