Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 447838 Details for
Bug 595090
media-sound/mixxx-2.0.0-r1 fails to compile with gcc-6.2.0 - /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/math.h:63:11: error: ‘std::util_fpclassify’ has not been declared
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mixxx-2.0.0-r1 fix compilation with gcc-6.2 patch
include_cmath_math.h_for_gcc-6.2.patch (text/plain), 726 bytes, created by
jospezial
on 2016-09-25 11:33:33 UTC
(
hide
)
Description:
mixxx-2.0.0-r1 fix compilation with gcc-6.2 patch
Filename:
MIME Type:
Creator:
jospezial
Created:
2016-09-25 11:33:33 UTC
Size:
726 bytes
patch
obsolete
>--- a/src/util/math.h 2015-12-29 17:10:41.000000000 +0100 >+++ b/src/util/math.h 2016-09-25 12:54:18.345291146 +0200 >@@ -3,8 +3,20 @@ > > // Causes MSVC to define M_PI and friends. > // http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx >+// Our SConscript defines this but check anyway. >+#ifdef __WINDOWS__ >+#ifndef _USE_MATH_DEFINES > #define _USE_MATH_DEFINES >-#include <cmath> >+#endif >+#endif >+ >+#include <math.h> >+#include <cmath> >+// Note: Because of our fpclassify hack, we actualy need to inlude both, >+// the c and the c++ version of the math header. >+// From GCC 6.1.1 math.h depends on cmath, which failes to compile if included >+// after our fpclassify hack >+ > #include <algorithm> > > #include "util/assert.h"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 595090
: 447838