Package: grfcodec
Version: 6.0.5-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-no-match

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -c -o objs/pseudo.o -idirafter/usr/include -O2 -DGCC32 
> -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-format-nonliteral -DWITH_FMEMOPEN 
> -DWITH_PNG -I/usr/include/libpng12 -g -O2 -fPIE -fstack-protector-strong 
> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF 
> objs/pseudo.o.d -MT objs/pseudo.o src/pseudo.cpp
> src/pseudo.cpp: In member function 'PseudoSprite& 
> PseudoSprite::SetNoEol(uint)':
> src/pseudo.cpp:408:45: warning: statement is indented as if it were guarded 
> by... [-Wmisleading-indentation]
>   if(GetState(LINEBREAKS))beauty[i]|=NOBREAK;return*this;
>                                              ^~~~~~
> 
> src/pseudo.cpp:408:2: note: ...this 'if' clause, but it is not
>   if(GetState(LINEBREAKS))beauty[i]|=NOBREAK;return*this;
>   ^~
> 
> src/pseudo.cpp: In member function 'std::ostream& 
> PseudoSprite::output(std::ostream&)':
> src/pseudo.cpp:719:100: error: no match for 'operator<' (operand types are 
> 'std::_Bind_helper<false, long unsigned int 
> (std::vector<std::__cxx11::basic_string<char>, 
> std::allocator<std::__cxx11::basic_string<char> > >::*)() const noexcept, 
> const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type 
> {aka std::_Bind<std::_Mem_fn<long unsigned int 
> (std::vector<std::__cxx11::basic_string<char>, 
> std::allocator<std::__cxx11::basic_string<char> > >::*)() const 
> noexcept>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}' 
> and 'std::_Bind_helper<false, long unsigned int 
> (std::vector<std::__cxx11::basic_string<char>, 
> std::allocator<std::__cxx11::basic_string<char> > >::*)() const noexcept, 
> const boost::lambda::lambda_functor<boost::lambda::placeholder<2> >&>::type 
> {aka std::_Bind<std::_Mem_fn<long unsigned int 
> (std::vector<std::__cxx11::basic_string<char>, 
> std::allocator<std::__cxx11::basic_string<char> > >::*)() const 
> noexcept>(boost::lambda::lambda_funct
> or<boost::lambda::placeholder<2> >)>}')
>    uint columns = (uint)max_element(sections.begin(),sections.end(), 
> bind(&vector<string>::size,_1) < bind(&vector<string>::size,_2))->size();
>                                                                      
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/istream:38,
>                  from /usr/include/c++/6/sstream:38,
>                  from src/pseudo.cpp:22:
> /usr/include/c++/6/bits/stl_pair.h:350:5: note: candidate: template<class 
> _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, 
> const std::pair<_T1, _T2>&)
>      operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
>      ^~~~~~~~
> 
> /usr/include/c++/6/bits/stl_pair.h:350:5: note:   template argument 
> deduction/substitution failed:
> src/pseudo.cpp:719:131: note:   'std::_Bind_helper<false, long unsigned int 
> (std::vector<std::__cxx11::basic_string<char>, 
> std::allocator<std::__cxx11::basic_string<char> > >::*)() const noexcept, 
> const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type 
> {aka std::_Bind<std::_Mem_fn<long unsigned int 
> (std::vector<std::__cxx11::basic_string<char>, 
> std::allocator<std::__cxx11::basic_string<char> > >::*)() const 
> noexcept>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}' 
> is not derived from 'const std::pair<_T1, _T2>'
>    uint columns = (uint)max_element(sections.begin(),sections.end(), 
> bind(&vector<string>::size,_1) < bind(&vector<string>::size,_2))->size();
>                                                                               
>                                                      ^
> 
> In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/istream:38,
>                  from /usr/include/c++/6/sstream:38,
>                  from src/pseudo.cpp:22:
> /usr/include/c++/6/bits/stl_iterator.h:298:5: note: candidate: template<class 
> _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const 
> std::reverse_iterator<_Iterator>&)
>      operator<(const reverse_iterator<_Iterator>& __x,
>      ^~~~~~~~

Reply via email to