Stricter warnings for --enable-strict
git-svn-id: http://svn.drobilla.net/lad/patchage@93 a436a847-0d15-0410-975c-d299462d15a1
This commit is contained in:
parent
656bbef377
commit
556991fe32
|
@ -88,8 +88,8 @@ AC_ARG_ENABLE(strict,
|
||||||
[strict="$enableval"])
|
[strict="$enableval"])
|
||||||
if test "$strict" = "yes"; then
|
if test "$strict" = "yes"; then
|
||||||
# Useless POS gnomecanvasmm doesn't build w/ -pedantic
|
# Useless POS gnomecanvasmm doesn't build w/ -pedantic
|
||||||
CFLAGS="$CFLAGS -ansi -Wall -Wconversion -Winit-self"
|
CFLAGS="$CFLAGS -ansi -Wall -Wextra -Wno-unused-parameter -Wconversion -Winit-self"
|
||||||
CXXFLAGS="$CXXFLAGS -ansi -Wall -Wconversion -Winit-self -Woverloaded-virtual -Wsign-promo"
|
CXXFLAGS="$CXXFLAGS -ansi -Wall -Wextra -Wno-unused-parameter -Wconversion -Winit-self -Woverloaded-virtual -Wsign-promo"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Bolt on a few specific flags to CXXFLAGS that should always be used
|
# Bolt on a few specific flags to CXXFLAGS that should always be used
|
||||||
|
|
|
@ -35,7 +35,7 @@ public:
|
||||||
{ return false; }
|
{ return false; }
|
||||||
|
|
||||||
virtual bool disconnect(const PatchagePort* src_port,
|
virtual bool disconnect(const PatchagePort* src_port,
|
||||||
const PatchagePort* dst_port)
|
const PatchagePort* dst_port)
|
||||||
{ return false; }
|
{ return false; }
|
||||||
|
|
||||||
/** Returns whether or not a refresh is required. */
|
/** Returns whether or not a refresh is required. */
|
||||||
|
|
Loading…
Reference in New Issue