← Back to team overview

hugin-devs team mailing list archive

[Bug 1537368] Re: enblend 4.1.4 build-error with gcc-6

 

Thank you, indeed a further error as popped up:

g++-6 -DHAVE_CONFIG_H -I. -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2    -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../../include -I../../src/layer_selection -I/usr/include/OpenEXR -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -pipe --param inline-unit-growth=60 -O2 -DNDEBUG -Wall -fopenmp -MT enblend-filespec.o -MD -MP -MF .deps/enblend-filespec.Tpo -c -o enblend-filespec.o `test -f 'filespec.cc' || echo '../../src/'`filespec.cc
../../src/filespec.cc: In constructor 'enblend::Globbing::Globbing()':
../../src/filespec.cc:420:113: error: ambiguous overload for 'operator=' (operand types are 'enblend::Globbing::algorithm_map {aka std::map<std::__cxx11::basic_string<char>, std::pair<bool, enblend::AbstractGlobbingAlgorithm*> >}' and 'boost::assign_detail::generic_list<std::pair<const char*, std::pair<bool, enblend::AbstractGlobbingAlgorithm*> > >')
             ("shell", MAKE_ALGORITHM(new ShellGlobbingAlgorithm))
                                                                                                                 ^
In file included from /usr/include/c++/6/map:61:0,
                 from ../../src/filespec.cc:36:
/usr/include/c++/6/bits/stl_map.h:296:7: note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = std::__cxx11::basic_string<char>; _Tp = std::pair<bool, enblend::AbstractGlobbingAlgorithm*>; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::pair<bool, enblend::AbstractGlobbingAlgorithm*> > >]
       operator=(const map& __x)
       ^~~~~~~~
/usr/include/c++/6/bits/stl_map.h:305:7: note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::map<_Key, _Tp, _Compare, _Alloc>&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = std::pair<bool, enblend::AbstractGlobbingAlgorithm*>; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::pair<bool, enblend::AbstractGlobbingAlgorithm*> > >]
       operator=(map&&) = default;
       ^~~~~~~~
In file included from /usr/include/c++/6/map:61:0,
                 from ../../src/filespec.cc:36:
/usr/include/c++/6/bits/stl_map.h:319:7: note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = std::__cxx11::basic_string<char>; _Tp = std::pair<bool, enblend::AbstractGlobbingAlgorithm*>; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::pair<bool, enblend::AbstractGlobbingAlgorithm*> > >]
       operator=(initializer_list<value_type> __l)
       ^~~~~~~~
Makefile:646: recipe for target 'enblend-filespec.o' failed
make[5]: *** [enblend-filespec.o] Error 1
make[5]: Leaving directory '/tmp/ENBLEND/enblend-enfuse-4.1.4/build-tree-mp/src'
Makefile:821: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1537368

Title:
  enblend 4.1.4 build-error with gcc-6

Status in Enblend:
  Fix Committed

Bug description:
  Hello,
  enblend 4.1.4 FTBFS with gcc/g++ 6 (tested with snapshot 20160117):

  ../../include/vigra_ext/impexalpha.hxx:252:78: error: no matching function for call to 'std::auto_ptr<vigra::Decoder>::auto_ptr(std::unique_ptr<vigra::Decoder>)'
               std::auto_ptr<vigra::Decoder> decoder(vigra::decoder(import_info));
                                                                                ^

  This does not apply to HG default!

  See https://bugs.debian.org/811869 and https://wiki.debian.org/GCC6

  cu Andreas

To manage notifications about this bug go to:
https://bugs.launchpad.net/enblend/+bug/1537368/+subscriptions


References