Group :: Sciences/Mathematics
RPM: Singular
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: Singular-gcc11.patch
Download
Download
From a01df0154f6bbedca34de0391ea861f08c6d249a Mon Sep 17 00:00:00 2001
From: Leontiy Volodin <lvol@altlinux.org>
Date: Mon, 11 Oct 2021 13:51:30 +0300
Subject: [PATCH] gcc11
---
Singular/dyn_modules/cohomo/cohomo.cc | 1 +
libpolys/coeffs/flintcf_Zn.cc | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/Singular/dyn_modules/cohomo/cohomo.cc b/Singular/dyn_modules/cohomo/cohomo.cc
index 37ccc66..306a7b4 100644
--- a/Singular/dyn_modules/cohomo/cohomo.cc
+++ b/Singular/dyn_modules/cohomo/cohomo.cc
@@ -3943,6 +3943,7 @@ std::vector<std::vector<int> > links_new(poly a, ideal Xo, ideal Sigma, int vert
return lkn;
}
WerrorS("Cannot find the links smartly!");
+ return lko;
}
diff --git a/libpolys/coeffs/flintcf_Zn.cc b/libpolys/coeffs/flintcf_Zn.cc
index d4d8714..b348f36 100644
--- a/libpolys/coeffs/flintcf_Zn.cc
+++ b/libpolys/coeffs/flintcf_Zn.cc
@@ -344,6 +344,7 @@ static number ExtGcd(number a, number b, number *s, number *t,const coeffs r)
static number Lcm(number a, number b, const coeffs r)
{
WerrorS("not yet: Lcm");
+ return NULL;
}
static void Delete(number * a, const coeffs r)
{
@@ -388,10 +389,12 @@ static number Init_bigint(number i, const coeffs dummy, const coeffs dst)
static number Farey(number p, number n, const coeffs)
{
WerrorS("not yet: Farey");
+ return NULL;
}
static number ChineseRemainder(number *x, number *q,int rl, BOOLEAN sym,CFArray &inv_cache,const coeffs)
{
WerrorS("not yet: ChineseRemainder");
+ return NULL;
}
static int ParDeg(number x,const coeffs r)
{
@@ -408,10 +411,12 @@ static number Parameter(const int i, const coeffs r)
// cfClearDenominators
static number ConvFactoryNSingN( const CanonicalForm n, const coeffs r)
{
+ return NULL;
}
static CanonicalForm ConvSingNFactoryN( number n, BOOLEAN setChar, const coeffs r )
{
WerrorS("not yet: ConvSingNFactoryN");
+ return NULL;
}
static char * CoeffName(const coeffs r)
{
--
libgit2 1.1.1