changeset 51:e43220da49d1 refactors

Warn (and thus error) for float-narrowing conversions
author Chris Cannam
date Fri, 14 Nov 2014 09:40:49 +0000
parents c7aa28f0d2ac
children 8cbc15519d2c
files Makefile.linux
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.linux	Fri Nov 14 09:02:32 2014 +0000
+++ b/Makefile.linux	Fri Nov 14 09:40:49 2014 +0000
@@ -1,5 +1,5 @@
 
-CXXFLAGS	+= -fPIC -ffast-math -O3 -Wall -Werror
+CXXFLAGS	+= -fPIC -ffast-math -O3 -Wall -Werror -Wfloat-conversion
 #CXXFLAGS	+= -fPIC -g -Wall -Werror
 
 LDFLAGS		+= -shared -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -Wl,-Bsymbolic -Wl,-z,defs -lpthread -Wl,--version-script=vamp-plugin.map