Stricter warnings

git-svn-id: http://svn.drobilla.net/lad@92 a436a847-0d15-0410-975c-d299462d15a1
This commit is contained in:
dave 2006-07-18 03:49:27 +00:00
parent dc679d1675
commit 77f4688c1f
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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: