[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56728] graphics.h: template argument deductio
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #56728] graphics.h: template argument deduction/substitution failed with std::transform (..., tolower) |
Date: |
Wed, 7 Aug 2019 14:00:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 |
URL:
<https://savannah.gnu.org/bugs/?56728>
Summary: graphics.h: template argument deduction/substitution
failed with std::transform (..., tolower)
Project: GNU Octave
Submitted by: philipnienhuis
Submitted on: Wed 07 Aug 2019 08:00:19 PM CEST
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
While trying to build the of-geometry-4.0.0 dev package (still a release
candidate) I get the error(s) below.
Some 3 weeks ago (before my vacation) geometry-4.0.0 got (cross)built just
fine with then bleeding edge dev Octave.
AFAICS the issue seems to be in graphics.h where an overloaded
std::transform() isn't found:
In file included from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/interpreter.h:41:0,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/pt-bp.h:32,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/pt-cmd.h:32,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/pt-decl.h:33,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/pt-misc.h:29,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/parse.h:37,
from polybool_mrf.cc:25:
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/graphics.h:
In member function 'bool base_properties::cmp_caseless_str::operator()(const
caseless_str&, const caseless_str&) const':
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/graphics.h:2629:67:
error: no matching function for call to
'transform(std::__cxx11::basic_string<char>::iterator,
std::__cxx11::basic_string<char>::iterator,
std::__cxx11::basic_string<char>::iterator, <unresolved overloaded function
type>)'
std::transform (a1.begin (), a1.end (), a1.begin (), tolower);
^
In file included from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/algorithm:62:0,
from polygon.h:5,
from polybool_mrf.cc:19:
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_algo.h:4295:5:
note: candidate: template<class _IIter, class _OIter, class _UnaryOperation>
_OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation)
transform(_InputIterator __first, _InputIterator __last,
^~~~~~~~~
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_algo.h:4295:5:
note: template argument deduction/substitution failed:
In file included from
/home/philip/de[vel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/interpreter.h:41:0,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/pt-bp.h:32,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/pt-cmd.h:32,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/pt-decl.h:33,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/pt-misc.h:29,
from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/parse.h:37,
from polybool_mrf.cc:25:
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/x86_64-w64-mingw32/include/octave-6.0.0/octave/../octave/graphics.h:2629:67:
note: couldn't deduce template parameter '_UnaryOperation'
std::transform (a1.begin (), a1.end (), a1.begin (), tolower);
^
In file included from
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/algorithm:62:0,
from polygon.h:5,
from polybool_mrf.cc:19:
/home/philip/devel/octdev/mxe/mxe_64b_20190615/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/include/c++/bits/stl_algo.h:4332:5:
note: candidate: template<class _IIter1, class _IIter2, class _OIter, class
_BinaryOperation> _OIter std::transform(_IIter1, _IIter1, _IIter2, _OIter,
_BinaryOperation)
transform(_InputIterator1 __first1, _InputIterator1 __last1,
^~~~~~~~~
While I've hit this when cross-building for Windows, I've set "Operating
System" to Linux as AFAICS it looks like a core header file issue.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56728>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56728] graphics.h: template argument deduction/substitution failed with std::transform (..., tolower),
Philip Nienhuis <=