Disable-128bit-float-constants.patch 824 Bytes
Newer Older
1 2 3 4 5 6
From: Felipe Sateler <fsateler@debian.org>
Date: Wed, 16 Nov 2016 18:42:00 -0300
Subject: Disable 128bit float constants.

They conflict with --std=c++11 (ie, additional flags are required),
but are not used, so just skip that
7 8

Forwarded: https://github.com/supercollider/supercollider/pull/3227
9 10 11 12
---
 lang/LangPrimSource/PyrMathPrim.cpp | 1 +
 1 file changed, 1 insertion(+)

Dan Stowell's avatar
Dan Stowell committed
13 14 15 16
Index: supercollider/lang/LangPrimSource/PyrMathPrim.cpp
===================================================================
--- supercollider.orig/lang/LangPrimSource/PyrMathPrim.cpp
+++ supercollider/lang/LangPrimSource/PyrMathPrim.cpp
17 18 19 20 21 22 23 24
@@ -34,6 +34,7 @@
 #include "SC_Endian.h"
 #include "SCBase.h"
 
+#define BOOST_MATH_DISABLE_FLOAT128 1
 #include "boost/math/special_functions.hpp"
 
 const int INT_MAX_BY_PyrSlot = INT_MAX / sizeof(PyrSlot);