#20925: gfan fails to build with gcc 6.1.1 (c++11)
-------------------------------------------------+-------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: packages: standard | Resolution:
Keywords: c++11 gcc6 | Merged in:
Authors: | Reviewers:
Report Upstream: Reported upstream. No | Work issues:
feedback yet. |
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Changes (by vbraun):
* upstream: N/A => Reported upstream. No feedback yet.
Old description:
New description:
{{{
g++ -O2 -DGMPRATIONAL -Wuninitialized -g
-I/home/vbraun/Code/sage/local/include -c app_secondaryfan.cpp
app_secondaryfan.cpp: In member function 'virtual int
SecondaryFanApplication::main()':
app_secondaryfan.cpp:310:5: error: reference to 'rank' is ambiguous
if(rank(A)!=A.getHeight())
^~~~
In file included from symmetriccomplex.h:11:0,
from symmetrictraversal.h:4,
from enumeration.h:69,
from reversesearch.h:4,
from app_secondaryfan.cpp:8:
matrix.h:150:5: note: candidates are: int rank(const IntegerMatrix&)
int rank(IntegerMatrix const &m);
^~~~
In file included from /usr/include/c++/6.1.1/bits/move.h:57:0,
from /usr/include/c++/6.1.1/bits/stl_pair.h:59,
from /usr/include/c++/6.1.1/bits/stl_algobase.h:64,
from /usr/include/c++/6.1.1/bits/char_traits.h:39,
from /usr/include/c++/6.1.1/string:40,
from parser.h:4,
from app_secondaryfan.cpp:1:
/usr/include/c++/6.1.1/type_traits:1471:12: note:
template<class> struct std::rank
struct rank
^~~~
app_secondaryfan.cpp:345:8: error: reference to 'rank' is ambiguous
if(rank(A)!=A.getHeight())
^~~~
In file included from symmetriccomplex.h:11:0,
from symmetrictraversal.h:4,
from enumeration.h:69,
from reversesearch.h:4,
from app_secondaryfan.cpp:8:
matrix.h:150:5: note: candidates are: int rank(const IntegerMatrix&)
int rank(IntegerMatrix const &m);
^~~~
In file included from /usr/include/c++/6.1.1/bits/move.h:57:0,
from /usr/include/c++/6.1.1/bits/stl_pair.h:59,
from /usr/include/c++/6.1.1/bits/stl_algobase.h:64,
from /usr/include/c++/6.1.1/bits/char_traits.h:39,
from /usr/include/c++/6.1.1/string:40,
from parser.h:4,
from app_secondaryfan.cpp:1:
/usr/include/c++/6.1.1/type_traits:1471:12: note:
template<class> struct std::rank
struct rank
^~~~
Makefile:430: recipe for target 'app_secondaryfan.o' failed
}}}
--
Comment:
I've sent the author a pm, there doesn't seem to be a public upstream bug
tracker.
--
Ticket URL: <https://trac.sagemath.org/ticket/20925#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.