Package: src:bisonc++
Version: failes to build with gcc 4.6
Severity: serious
Hi!
Your package fails to build on the debian autobuilds with
(seemingly) a gcc 4.6 problem:
g++ -c -o generator/o/23tokens.o -Wall -O3 --std=c++0x generator/tokens.cc
In file included from generator/generator.ih:9:0,
from generator/tokens.cc:1:
/usr/include/bobcat/fnwrap: In static member function 'static RetType
FBB::FnWrap::CallPack<RetType, Func, Arg1, Arg2, size, Tuple, Args>::call(Func,
Arg1&&, Arg2&&, const Tuple&, Args&& ...) [with RetType = void, Func = void
(*)(const Terminal*, std::vector<const Terminal*>*), Arg1 = const Terminal*
const&, Arg2 = FBB::FnWrap::Dissect<int>*, long unsigned int size = 1ul, Tuple
= std::tuple<std::vector<const Terminal*>*>, Args = {}]':
/usr/include/bobcat/fnwrap:169:68: instantiated from
'FBB::FnWrap::Functor<Function, Args>::RetType FBB::FnWrap::Functor<Function,
Args>::operator()(Arg1&&) [with Arg1 = const Terminal* const&, Function = void
(*)(const Terminal*, std::vector<const Terminal*>*), Args = {std::vector<const
Terminal*>*}, FBB::FnWrap::Functor<Function, Args>::RetType = void]'
/usr/include/c++/4.6/bits/stl_algo.h:4302:2: instantiated from '_Funct
std::for_each(_IIter, _IIter, _Funct) [with _IIter =
__gnu_cxx::__normal_iterator<const Terminal* const*, std::vector<const
Terminal*> >, _Funct = FBB::FnWrap::Functor<void (*)(const Terminal*,
std::vector<const Terminal*>*), std::vector<const Terminal*>*>]'
generator/tokens.cc:11:5: instantiated from here
/usr/include/bobcat/fnwrap:110:9: error: no matching function for call to
'forward(std::vector<const Terminal*>* const&)'
/usr/include/bobcat/fnwrap:110:9: note: candidates are:
/usr/include/c++/4.6/bits/move.h:62:5: note: template<class _Tp> _Tp&&
std::forward(typename std::remove_reference<_Tp>::type&)
/usr/include/c++/4.6/bits/move.h:67:60: note: template<class _Tp> _Tp&&
std::forward(typename std::remove_reference<_Tp>::type&&)
/usr/include/bobcat/fnwrap:110:9: error: return-statement with a value, in
function returning 'void' [-fpermissive]
system - failure of system call (status 256)
system - failure of system call (status 256)
make: *** [build-stamp] Error 1
Full log there (for example):
https://buildd.debian.org/status/fetch.php?pkg=bisonc%2B%2B&arch=kfreebsd-i386&ver=2.09.02-1&stamp=1304531068
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]