From: Richard Kreckel Date: Thu, 15 Oct 2015 06:59:20 +0000 (+0200) Subject: Fix make check with g++ -std=c++11. X-Git-Tag: ginac_1-6-6~12 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=1fa7d19af08892800dfdb0b700bc0a9362a3fae8 Fix make check with g++ -std=c++11. 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. --- diff --git a/check/exam_inifcns.cpp b/check/exam_inifcns.cpp index 03c25807..cad9c835 100644 --- a/check/exam_inifcns.cpp +++ b/check/exam_inifcns.cpp @@ -293,6 +293,7 @@ static unsigned inifcns_consist_exp() static unsigned inifcns_consist_log() { + using GiNaC::log; unsigned result = 0; symbol z("a"), w("b"); realsymbol a("a"), b("b");