1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-03 14:13:11 +02:00
Benjamin Drung a20d7898f3 Fix redeclaration of isinf()
Commit 9e78a41 declared isinf() as std::isinf(), because isinf() was not
declared on Ubuntu 16.04. But now the builds fail on Ubuntu <= 15.10,
because isinf() is declared there:

effects/Contrast.cpp:61:12: error: ‘constexpr bool std::isinf(double)’ conflicts with a previous declaration
 using std::isinf;
            ^
In file included from /usr/include/features.h:364:0,
                 from /usr/include/assert.h:35,
                 from /usr/include/wx-3.0/wx/debug.h:14,
                 from /usr/include/wx-3.0/wx/defs.h:695,
                 from /usr/include/wx-3.0/wx/event.h:14,
                 from /usr/include/wx-3.0/wx/window.h:18,
                 from /usr/include/wx-3.0/wx/nonownedwnd.h:14,
                 from /usr/include/wx-3.0/wx/toplevel.h:20,
                 from /usr/include/wx-3.0/wx/dialog.h:14,
                 from effects/Contrast.h:12,
                 from effects/Contrast.cpp:13:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:201:1: note: previous declaration ‘int isinf(double)’
 __MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));

Thus use std::isinf() directly instead of declaring isinf() as
std::isinf().
2016-05-16 13:33:22 +02:00
..
2016-05-16 13:33:22 +02:00
2016-05-05 10:37:59 +01:00
2016-03-18 22:33:49 +00:00
2016-04-17 13:58:21 -04:00
2016-04-17 15:04:53 -04:00
2016-04-17 15:02:28 -04:00
2016-05-01 13:42:00 +01:00
2016-04-09 22:55:15 -04:00
2016-04-10 22:26:28 -04:00
2016-04-10 22:26:28 -04:00
2016-05-10 18:29:28 +01:00
2016-04-10 22:26:28 -04:00
2016-05-14 17:22:28 +01:00
2016-02-19 01:39:44 -05:00
2016-02-19 01:37:27 -05:00
2016-04-10 21:19:15 -04:00
2016-04-12 00:55:59 -04:00