comparison configure @ 922:a16456ca5e71 cxx11

More type fixes. We now build with -Wconversion, on this platform (64-bit Linux) at least.
author Chris Cannam
date Tue, 10 Mar 2015 17:23:45 +0000
parents 096634fc3f19
children 6b683d12ab65
comparison
equal deleted inserted replaced
921:67540751da93 922:a16456ca5e71
4362 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" 4362 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS"
4363 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" 4363 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS"
4364 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" 4364 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS"
4365 4365
4366 if test "x$GCC" = "xyes"; then 4366 if test "x$GCC" = "xyes"; then
4367 CXXFLAGS_DEBUG="-std=c++11 -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" 4367 CXXFLAGS_ANY="-std=c++11 -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe"
4368 CXXFLAGS_RELEASE="-std=c++11 -g0 -O2 -Wall -pipe" 4368 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g"
4369 CXXFLAGS_MINIMAL="-std=c++11 -g0 -O0" 4369 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2"
4370 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0"
4370 fi 4371 fi
4371 4372
4372 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" 4373 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE"
4373 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" 4374 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE"
4374 4375