]> www.ginac.de Git - ginac.git/commitdiff
Fix make check with g++ -std=c++11.
authorRichard Kreckel <kreckel@ginac.de>
Thu, 15 Oct 2015 06:59:20 +0000 (08:59 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 15 Oct 2015 06:59:20 +0000 (08:59 +0200)
Our template function log() returning an object of type GiNaC::function
turns out to compete with a template from a libstdc++ header. We have
to help the compiler a bit.

check/exam_inifcns.cpp

index 03c2580772905e5ac283f69c509895eff87461e6..cad9c8357827977e51cc04765add880a7269046f 100644 (file)
@@ -293,6 +293,7 @@ static unsigned inifcns_consist_exp()
 
 static unsigned inifcns_consist_log()
 {
 
 static unsigned inifcns_consist_log()
 {
+       using GiNaC::log;
        unsigned result = 0;
        symbol z("a"), w("b");
        realsymbol a("a"), b("b");
        unsigned result = 0;
        symbol z("a"), w("b");
        realsymbol a("a"), b("b");