You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi @nyalldawson, building now on mac I am getting the following:
[ 0%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsmaptopixelgeometrysimplifier.cpp.o
/Users/slarosa/dev/qgis-src/QGIS/src/core/qgsmaptopixelgeometrysimplifier.cpp:111:14: error: no viable conversion from returned value of type 'unique_ptr<QgsLineString>' to function return type 'unique_ptr<QgsAbstractGeometry>'
return ext;
^~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2553:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::unique_ptr<QgsLineString>' to 'const std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY unique_ptr
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2582:49: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsLineString>' to 'nullptr_t' for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2609:31: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsLineString>' to 'std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &&' for 1st argument
_LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2613:9: note: candidate constructor [with _Up = QgsLineString, _Ep = std::__1::default_delete<QgsLineString>] not viable: no known conversion from 'std::unique_ptr<QgsLineString>' to 'unique_ptr<QgsLineString, std::__1::default_delete<QgsLineString> > &&' for 1st argument
unique_ptr(unique_ptr<_Up, _Ep>&& __u,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2628:35: note: candidate template ignored: could not match 'auto_ptr' against 'unique_ptr'
_LIBCPP_INLINE_VISIBILITY unique_ptr(auto_ptr<_Up>&& __p,
^
/Users/slarosa/dev/qgis-src/QGIS/src/core/qgsmaptopixelgeometrysimplifier.cpp:116:14: error: no viable conversion from returned value of type 'unique_ptr<QgsPolygon>' to function return type 'unique_ptr<QgsAbstractGeometry>'
return polygon;
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2553:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::unique_ptr<QgsPolygon>' to 'const std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY unique_ptr
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2582:49: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsPolygon>' to 'nullptr_t' for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2609:31: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsPolygon>' to 'std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &&' for 1st argument
_LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2613:9: note: candidate constructor [with _Up = QgsPolygon, _Ep = std::__1::default_delete<QgsPolygon>] not viable: no known conversion from 'std::unique_ptr<QgsPolygon>' to 'unique_ptr<QgsPolygon, std::__1::default_delete<QgsPolygon> > &&' for 1st argument
unique_ptr(unique_ptr<_Up, _Ep>&& __u,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2628:35: note: candidate template ignored: could not match 'auto_ptr' against 'unique_ptr'
_LIBCPP_INLINE_VISIBILITY unique_ptr(auto_ptr<_Up>&& __p,
^
/Users/slarosa/dev/qgis-src/QGIS/src/core/qgsmaptopixelgeometrysimplifier.cpp:308:12: error: no viable conversion from returned value of type 'unique_ptr<QgsCurve>' to function return type 'unique_ptr<QgsAbstractGeometry>'
return output;
^~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2553:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::unique_ptr<QgsCurve>' to 'const std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY unique_ptr
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2582:49: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsCurve>' to 'nullptr_t' for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2609:31: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsCurve>' to 'std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &&' for 1st argument
_LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2613:9: note: candidate constructor [with _Up = QgsCurve, _Ep = std::__1::default_delete<QgsCurve>] not viable: no known conversion from 'std::unique_ptr<QgsCurve>' to 'unique_ptr<QgsCurve, std::__1::default_delete<QgsCurve> > &&' for 1st argument
unique_ptr(unique_ptr<_Up, _Ep>&& __u,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2628:35: note: candidate template ignored: could not match 'auto_ptr' against 'unique_ptr'
_LIBCPP_INLINE_VISIBILITY unique_ptr(auto_ptr<_Up>&& __p,
^
/Users/slarosa/dev/qgis-src/QGIS/src/core/qgsmaptopixelgeometrysimplifier.cpp:322:12: error: no viable conversion from returned value of type 'unique_ptr<QgsPolygon>' to function return type 'unique_ptr<QgsAbstractGeometry>'
return polygon;
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2553:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::unique_ptr<QgsPolygon>' to 'const std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY unique_ptr
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2582:49: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsPolygon>' to 'nullptr_t' for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2609:31: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsPolygon>' to 'std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &&' for 1st argument
_LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2613:9: note: candidate constructor [with _Up = QgsPolygon, _Ep = std::__1::default_delete<QgsPolygon>] not viable: no known conversion from 'std::unique_ptr<QgsPolygon>' to 'unique_ptr<QgsPolygon, std::__1::default_delete<QgsPolygon> > &&' for 1st argument
unique_ptr(unique_ptr<_Up, _Ep>&& __u,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2628:35: note: candidate template ignored: could not match 'auto_ptr' against 'unique_ptr'
_LIBCPP_INLINE_VISIBILITY unique_ptr(auto_ptr<_Up>&& __p,
^
/Users/slarosa/dev/qgis-src/QGIS/src/core/qgsmaptopixelgeometrysimplifier.cpp:335:12: error: no viable conversion from returned value of type 'unique_ptr<QgsGeometryCollection>' to function return type 'unique_ptr<QgsAbstractGeometry>'
return collection;
^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2553:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::unique_ptr<QgsGeometryCollection>' to 'const std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY unique_ptr
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2582:49: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsGeometryCollection>' to 'nullptr_t' for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2609:31: note: candidate constructor not viable: no known conversion from 'std::unique_ptr<QgsGeometryCollection>' to 'std::__1::unique_ptr<QgsAbstractGeometry, std::__1::default_delete<QgsAbstractGeometry> > &&' for 1st argument
_LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2613:9: note: candidate constructor [with _Up = QgsGeometryCollection, _Ep = std::__1::default_delete<QgsGeometryCollection>] not viable: no known conversion from 'std::unique_ptr<QgsGeometryCollection>' to 'unique_ptr<QgsGeometryCollection, std::__1::default_delete<QgsGeometryCollection> > &&' for 1st argument
unique_ptr(unique_ptr<_Up, _Ep>&& __u,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2628:35: note: candidate template ignored: could not match 'auto_ptr' against 'unique_ptr'
_LIBCPP_INLINE_VISIBILITY unique_ptr(auto_ptr<_Up>&& __p,
^
5 errors generated.
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgsmaptopixelgeometrysimplifier.cpp.o] Error 1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2
1 commit comments
slarosa commentedon May 22, 2018
hi @nyalldawson, building now on mac I am getting the following:
Is the error related to those changes?