[packages/mozjs60] - gcc 7 also fails to compile WrapSigned::compute as constant

qboosh qboosh at pld-linux.org
Thu Oct 17 17:35:22 CEST 2019


commit 85a873a6afafecd0028dc29ffab0fd526ccfa41f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Oct 17 17:38:49 2019 +0200

    - gcc 7 also fails to compile WrapSigned::compute as constant

 mozjs60.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mozjs60.spec b/mozjs60.spec
index 9f0e12d..5c9cfb4 100644
--- a/mozjs60.spec
+++ b/mozjs60.spec
@@ -18,8 +18,8 @@ Patch2:		include-configure-script.patch
 Patch3:		x32.patch
 URL:		https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
 BuildRequires:	autoconf2_13 >= 2.13
-# "TestWrappingOperations.cpp:27:1: error: non-constant condition for static assertion" with -fwrapv on gcc 6
-%{?with_tests:BuildRequires:	gcc-c++ >= 6:7}
+# "TestWrappingOperations.cpp:27:1: error: non-constant condition for static assertion" with -fwrapv on gcc 6 and 7
+%{?with_tests:BuildRequires:	gcc-c++ >= 6:8}
 BuildRequires:	libicu-devel >= 59.1
 BuildRequires:	libstdc++-devel >= 6:4.4
 BuildRequires:	nspr-devel >= 4.9.2
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mozjs60.git/commitdiff/85a873a6afafecd0028dc29ffab0fd526ccfa41f



More information about the pld-cvs-commit mailing list