comparison configure @ 934:a8f3195b0761 warnfix_no_size_t

Configure stuff and fixes for -Werror
author Chris Cannam
date Wed, 18 Jun 2014 09:13:25 +0100
parents 2bd629a29fa3
children dbb7f0ab011e
comparison
equal deleted inserted replaced
933:d03b3d956358 934:a8f3195b0761
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"