comparison configure @ 809:51da09385b38 warnfix_no_size_t

Configure stuff and fixes for -Werror
author Chris Cannam
date Wed, 18 Jun 2014 09:13:25 +0100
parents 6d38e9b15a78
children 899c4d7e7e63
comparison
equal deleted inserted replaced
808:40c6c9344ff6 809:51da09385b38
4200 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" 4200 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS"
4201 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" 4201 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS"
4202 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" 4202 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS"
4203 4203
4204 if test "x$GCC" = "xyes"; then 4204 if test "x$GCC" = "xyes"; then
4205 CXXFLAGS_DEBUG="-Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" 4205 CXXFLAGS_DEBUG="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe"
4206 CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe" 4206 CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe"
4207 CXXFLAGS_MINIMAL="-g0 -O0" 4207 CXXFLAGS_MINIMAL="-g0 -O0"
4208 fi 4208 fi
4209 4209
4210 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" 4210 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE"