From dad346ec2301b75858766acc4cc492f1b436a676 Mon Sep 17 00:00:00 2001 From: Steve Daulton Date: Mon, 15 Feb 2016 15:54:11 +0000 Subject: [PATCH] Fix build for Debian Stable --- src/Makefile.in | 2 +- src/Mix.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 9c01d9150..a08d73cef 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1101,7 +1101,7 @@ libaudacity_la_SOURCES = \ xml/XMLTagHandler.h \ $(NULL) -audacity_CPPFLAGS = -Wno-deprecated-declarations \ +audacity_CPPFLAGS = -std=c++11 -Wno-deprecated-declarations \ -D__STDC_CONSTANT_MACROS -DLIBDIR=\"$(libdir)\" \ $(EXPAT_CFLAGS) $(FILEDIALOG_CFLAGS) $(PORTAUDIO_CFLAGS) \ $(PORTMIXER_CFLAGS) $(SNDFILE_CFLAGS) $(SOXR_CFLAGS) \ diff --git a/src/Mix.cpp b/src/Mix.cpp index 709239b55..93eb0aab4 100644 --- a/src/Mix.cpp +++ b/src/Mix.cpp @@ -763,7 +763,7 @@ void Mixer::Reposition(double t) void Mixer::SetTimesAndSpeed(double t0, double t1, double speed) { - wxASSERT(isfinite(speed)); + wxASSERT(std::isfinite(speed)); mT0 = t0; mT1 = t1; mSpeed = fabs(speed);