Mercurial > hg > sonic-visualiser
comparison configure.ac @ 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 | 93a770ecfc98 |
children | 6b683d12ab65 |
comparison
equal
deleted
inserted
replaced
921:67540751da93 | 922:a16456ca5e71 |
---|---|
51 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" | 51 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" |
52 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" | 52 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" |
53 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" | 53 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" |
54 | 54 |
55 if test "x$GCC" = "xyes"; then | 55 if test "x$GCC" = "xyes"; then |
56 CXXFLAGS_DEBUG="-std=c++11 -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" | 56 CXXFLAGS_ANY="-std=c++11 -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" |
57 CXXFLAGS_RELEASE="-std=c++11 -g0 -O2 -Wall -pipe" | 57 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g" |
58 CXXFLAGS_MINIMAL="-std=c++11 -g0 -O0" | 58 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" |
59 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" | |
59 fi | 60 fi |
60 | 61 |
61 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" | 62 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" |
62 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" | 63 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" |
63 | 64 |