--- Begin Message ---
Package: gfan
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs
Hello,
Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc).
We detected this kinf of error:
http://clang.debian.net/status.php?version=3.4.2&key=WRONG_DEFAULT_DECLARATION
Full build log is available here:
http://clang.debian.net/logs/2014-06-16/gfan_0.5+dfsg-4_unstable_clang.log
Thanks,
Alexander
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ./gfanlib_polyhedralfan.h 2013-01-17 02:56:44.000000000 +0400
+++ ../gfan-0.5+dfsg-my/./gfanlib_polyhedralfan.h 2014-07-19 21:54:53.587475313 +0400
@@ -52,7 +52,7 @@
int getAmbientDimension()const;
int getMaxDimension()const;
int getMinDimension()const;
- friend PolyhedralFan refinement(const PolyhedralFan &a, const PolyhedralFan &b, int cutOffDimension=-1, bool allowASingleConeOfCutOffDimension=false);
+ friend PolyhedralFan refinement(const PolyhedralFan &a, const PolyhedralFan &b, int cutOffDimension, bool allowASingleConeOfCutOffDimension);
ZMatrix getRays(int dim=1);//This can be called for other dimensions than 1. The term "Rays" still makes sense modulo the common linearity space
ZMatrix getRelativeInteriorPoints();
void insert(ZCone const &c);
--- ./polyhedralfan.h 2013-01-17 02:56:44.000000000 +0400
+++ ../gfan-0.5+dfsg-my/./polyhedralfan.h 2014-07-19 21:43:19.127564810 +0400
@@ -74,7 +74,7 @@
int getAmbientDimension()const;
int getMaxDimension()const;
int getMinDimension()const;
- friend PolyhedralFan refinement(const PolyhedralFan &a, const PolyhedralFan &b, int cutOffDimension=-1, bool allowASingleConeOfCutOffDimension=false);
+ friend PolyhedralFan refinement(const PolyhedralFan &a, const PolyhedralFan &b, int cutOffDimension, bool allowASingleConeOfCutOffDimension);
friend PolyhedralFan product(const PolyhedralFan &a, const PolyhedralFan &b);
IntegerVectorList getRays(int dim=1);//This can be called for other dimensions than 1. The term "Rays" still makes sense modulo the common linearity space
IntegerVectorList getRelativeInteriorPoints();
--- ./halfopencone.h 2013-01-17 02:56:44.000000000 +0400
+++ ../gfan-0.5+dfsg-my/./halfopencone.h 2014-07-19 21:44:23.574452732 +0400
@@ -18,7 +18,7 @@
HalfOpenCone(int dimension_, IntegerVectorList const &equations, IntegerVectorList const &nonstrict, IntegerVectorList const &strict, bool findFacets=false, bool canonicalize=false);
HalfOpenCone(int ambientDimension);//full space
bool isEmpty();
- friend HalfOpenCone intersection(const HalfOpenCone &a, const HalfOpenCone &b, bool findFacets=false);
+ friend HalfOpenCone intersection(const HalfOpenCone &a, const HalfOpenCone &b, bool findFacets);
friend bool haveEmptyIntersection(const HalfOpenCone &a, const HalfOpenCone &b);
PolyhedralCone closure();
void splitIntoRelativelyOpenCones(list<HalfOpenCone> &l);
--- ./tropical2.cpp 2013-01-17 02:56:44.000000000 +0400
+++ ../gfan-0.5+dfsg-my/./tropical2.cpp 2014-07-19 21:46:55.059830437 +0400
@@ -235,7 +235,7 @@
{
fprintf(Stderr,"Hypersurfaces to go:%i\n",hypersurfacesToGo--);
fprintf(Stderr,"Max dimension: %i\n",f.getMaxDimension());
- f=refinement(f,PolyhedralFan::bergmanOfPrincipalIdeal(*i));
+ f=refinement(f,PolyhedralFan::bergmanOfPrincipalIdeal(*i), -1, false);
f.removeAllExcept(3);
IntegerVectorList l=f.getRelativeInteriorPoints();
@@ -331,7 +331,7 @@
{
fprintf(Stderr,"Hypersurfaces to go:%i\n",hypersurfacesToGo--);
fprintf(Stderr,"Max dimension: %i\n",f.getMaxDimension());
- f=refinement(f,PolyhedralFan::bergmanOfPrincipalIdeal(*i));
+ f=refinement(f,PolyhedralFan::bergmanOfPrincipalIdeal(*i), -1, false);
f.removeAllExcept(3);
IntegerVectorList l=f.getRelativeInteriorPoints();
--- ./halfopencone.cpp 2013-01-17 02:56:44.000000000 +0400
+++ ../gfan-0.5+dfsg-my/./halfopencone.cpp 2014-07-19 21:51:52.526649082 +0400
@@ -437,8 +437,8 @@
if(p1.isZero()) //If the polynomial is zero it makes most sense to return a complete fan consisting of one cone in both cases
{
IntegerVectorList empty;
- if(fullDimCones)fullDimCones->push_back(intersection(HalfOpenCone(n,empty,empty,empty),*restrictingCone));
- if(coDimOneCones)coDimOneCones->push_back(intersection(HalfOpenCone(n,empty,empty,empty),*restrictingCone));
+ if(fullDimCones)fullDimCones->push_back(intersection(HalfOpenCone(n,empty,empty,empty),*restrictingCone, false));
+ if(coDimOneCones)coDimOneCones->push_back(intersection(HalfOpenCone(n,empty,empty,empty),*restrictingCone, false));
return;
}
@@ -497,7 +497,7 @@
}
if(fullDimCones)
{
- fullDimCones->push_back(intersection(HalfOpenCone(C,myTermOrder),*restrictingCone));
+ fullDimCones->push_back(intersection(HalfOpenCone(C,myTermOrder),*restrictingCone, false));
/* fprintf(Stderr,"Came from-------------------------------------------------\n");
AsciiPrinter P(Stderr);
fullDimCones->back().print(P);
@@ -534,7 +534,7 @@
for(HalfOpenConeList::const_iterator j=b.begin();j!=b.end();j++)
if(!haveEmptyIntersection(*i,*j))
{
- HalfOpenCone c=intersection(*i,*j);
+ HalfOpenCone c=intersection(*i,*j, false);
// c.isEmpty();
// c.isEmpty();
// if(!c.isEmpty())
--- ./polyhedralfan.cpp 2013-01-17 02:56:44.000000000 +0400
+++ ../gfan-0.5+dfsg-my/./polyhedralfan.cpp 2014-07-19 21:45:25.297385609 +0400
@@ -97,7 +97,7 @@
tempC.canonicalize();
temp.insert(tempC);
}
- ret=refinement(ret,temp);
+ ret=refinement(ret,temp, -1, false);
}
if(!includec)ret.remove(C);
return ret;
--- ./app_tropicalintersection.cpp 2013-01-17 02:56:44.000000000 +0400
+++ ../gfan-0.5+dfsg-my/./app_tropicalintersection.cpp 2014-07-19 21:56:21.025937840 +0400
@@ -193,7 +193,7 @@
if(optionTPlane.getValue())
{
PolyhedralFan temp=PolyhedralFan::halfSpace(n,0);
- F=refinement(F,temp);
+ F=refinement(F,temp, -1, false);
}
// if(optionIncidencePrinting.getValue())
{
--- ./app_commonrefinement.cpp 2013-01-17 02:56:44.000000000 +0400
+++ ../gfan-0.5+dfsg-my/./app_commonrefinement.cpp 2014-07-19 21:59:01.495107406 +0400
@@ -32,7 +32,7 @@
PolyhedralFan f1=PolyhedralFan::readFan(input1Option.getValue());
PolyhedralFan f2=PolyhedralFan::readFan(input2Option.getValue());
- PolyhedralFan f=refinement(f1,f2);
+ PolyhedralFan f=refinement(f1,f2, -1, false);
AsciiPrinter P(Stdout);
--- ./tropicalmap.cpp 2013-01-17 02:56:44.000000000 +0400
+++ ../gfan-0.5+dfsg-my/./tropicalmap.cpp 2014-07-19 21:53:12.877242468 +0400
@@ -38,7 +38,7 @@
{
for(PolynomialSet::const_iterator i=polynomialMap.begin();i!=polynomialMap.end();i++)
{
- domain=refinement(domain,PolyhedralFan::normalFanOfNewtonPolytope(*i));
+ domain=refinement(domain,PolyhedralFan::normalFanOfNewtonPolytope(*i), -1, false);
}
return imageOfTropicalMapGivenLinearityCones(polynomialMap,domain);
}
--- End Message ---