Package: jigzo
Version: 0.6.1-6
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-reference-ambiguous

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++ -g -I/usr/include/SDL -DENABLE_SOUND -Wall -c src/main.cxx -o 
> obj/main.LINUX.o
> src/main.cxx: In function 'void Randomize()':
> src/main.cxx:987:3: warning: statement is indented as if it were guarded 
> by... [-Wmisleading-indentation]
>    float cx = 0.f;
>    ^~~~~
> 
> src/main.cxx:985:2: note: ...this 'for' clause, but it is not
>   for (int i = 0; i < n; i++)
>   ^~~
> 
> src/main.cxx: In function 'int main(int, char**)':
> src/main.cxx:1597:16: error: reference to 'end' is ambiguous
>    while (mode!=end) {
>                 ^~~
> 
> src/main.cxx:168:2: note: candidates are: Mode end
>   end
>   ^~~
> 
> In file included from /usr/include/c++/6/list:62:0,
>                  from src/main.cxx:58:
> /usr/include/c++/6/bits/range_access.h:107:37: note:                 
> template<class _Tp> const _Tp* std::end(const std::valarray<_Tp>&)
>    template<typename _Tp> const _Tp* end(const valarray<_Tp>&);
>                                      ^~~
> 
> /usr/include/c++/6/bits/range_access.h:106:31: note:                 
> template<class _Tp> _Tp* std::end(std::valarray<_Tp>&)
>    template<typename _Tp> _Tp* end(valarray<_Tp>&);
>                                ^~~
> 
> /usr/include/c++/6/bits/range_access.h:97:5: note:                 
> template<class _Tp, long unsigned int _Nm> constexpr _Tp* std::end(_Tp 
> (&)[_Nm])
>      end(_Tp (&__arr)[_Nm])
>      ^~~
> 
> /usr/include/c++/6/bits/range_access.h:78:5: note:                 
> template<class _Container> decltype (__cont.end()) std::end(const _Container&)
>      end(const _Container& __cont) -> decltype(__cont.end())
>      ^~~
> 
> /usr/include/c++/6/bits/range_access.h:68:5: note:                 
> template<class _Container> decltype (__cont.end()) std::end(_Container&)
>      end(_Container& __cont) -> decltype(__cont.end())
>      ^~~
> 
> In file included from /usr/include/c++/6/bits/range_access.h:36:0,
>                  from /usr/include/c++/6/list:62,
>                  from src/main.cxx:58:
> /usr/include/c++/6/initializer_list:99:5: note:                 
> template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
>      end(initializer_list<_Tp> __ils) noexcept
>      ^~~
> 
> src/main.cxx:1636:27: error: reference to 'end' is ambiguous
>        FadeOutTo(end_intro,end);
>                            ^~~
> 
> src/main.cxx:168:2: note: candidates are: Mode end
>   end
>   ^~~
> 
> In file included from /usr/include/c++/6/list:62:0,
>                  from src/main.cxx:58:
> /usr/include/c++/6/bits/range_access.h:107:37: note:                 
> template<class _Tp> const _Tp* std::end(const std::valarray<_Tp>&)
>    template<typename _Tp> const _Tp* end(const valarray<_Tp>&);
>                                      ^~~
> 
> /usr/include/c++/6/bits/range_access.h:106:31: note:                 
> template<class _Tp> _Tp* std::end(std::valarray<_Tp>&)
>    template<typename _Tp> _Tp* end(valarray<_Tp>&);
>                                ^~~
> 
> /usr/include/c++/6/bits/range_access.h:97:5: note:                 
> template<class _Tp, long unsigned int _Nm> constexpr _Tp* std::end(_Tp 
> (&)[_Nm])
>      end(_Tp (&__arr)[_Nm])
>      ^~~
> 
> /usr/include/c++/6/bits/range_access.h:78:5: note:                 
> template<class _Container> decltype (__cont.end()) std::end(const _Container&)
>      end(const _Container& __cont) -> decltype(__cont.end())
>      ^~~
> 
> /usr/include/c++/6/bits/range_access.h:68:5: note:                 
> template<class _Container> decltype (__cont.end()) std::end(_Container&)
>      end(_Container& __cont) -> decltype(__cont.end())
>      ^~~
> 
> In file included from /usr/include/c++/6/bits/range_access.h:36:0,
>                  from /usr/include/c++/6/list:62,
>                  from src/main.cxx:58:
> /usr/include/c++/6/initializer_list:99:5: note:                 
> template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
>      end(initializer_list<_Tp> __ils) noexcept
>      ^~~
> 
> src/main.cxx:1644:13: error: reference to 'end' is ambiguous
>       mode = end;
>              ^~~
> 
> src/main.cxx:168:2: note: candidates are: Mode end
>   end
>   ^~~
> 
> In file included from /usr/include/c++/6/list:62:0,
>                  from src/main.cxx:58:
> /usr/include/c++/6/bits/range_access.h:107:37: note:                 
> template<class _Tp> const _Tp* std::end(const std::valarray<_Tp>&)
>    template<typename _Tp> const _Tp* end(const valarray<_Tp>&);
>                                      ^~~
> 
> /usr/include/c++/6/bits/range_access.h:106:31: note:                 
> template<class _Tp> _Tp* std::end(std::valarray<_Tp>&)
>    template<typename _Tp> _Tp* end(valarray<_Tp>&);
>                                ^~~
> 
> /usr/include/c++/6/bits/range_access.h:97:5: note:                 
> template<class _Tp, long unsigned int _Nm> constexpr _Tp* std::end(_Tp 
> (&)[_Nm])
>      end(_Tp (&__arr)[_Nm])
>      ^~~
> 
> /usr/include/c++/6/bits/range_access.h:78:5: note:                 
> template<class _Container> decltype (__cont.end()) std::end(const _Container&)
>      end(const _Container& __cont) -> decltype(__cont.end())
>      ^~~
> 
> /usr/include/c++/6/bits/range_access.h:68:5: note:                 
> template<class _Container> decltype (__cont.end()) std::end(_Container&)
>      end(_Container& __cont) -> decltype(__cont.end())
>      ^~~
> 
> In file included from /usr/include/c++/6/bits/range_access.h:36:0,
>                  from /usr/include/c++/6/list:62,
>                  from src/main.cxx:58:
> /usr/include/c++/6/initializer_list:99:5: note:                 
> template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
>      end(initializer_list<_Tp> __ils) noexcept
>      ^~~
> 
> Makefile:124: recipe for target 'obj/main.LINUX.o' failed
> make[1]: *** [obj/main.LINUX.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to