Package: gecode
Version: 1.2.2-1

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  I'm not quite sure why GCC
rejects this code but please take a look.  If you believe this is a
GCC bug, reassign the bug to gcc-snapshot.  You can reproduce this
with the gcc-snapshot package from unstable or gcc-4.2 from
experimental.

(For the record, gcc started rejecting this code between 20060806 and
20060823.)

> Automatic build of gecode_1.2.2-1 on debian04v4.zseries.org by sbuild/s390 
> 0.49
...
> s390-linux-gnu-g++ -I. -DNDEBUG -fPIC -Wall -ggdb -O3 -fno-strict-aliasing 
> -finline-limit=3000 -ffast-math   \
>       -c -o gecode/int/element.o  gecode/int/element.cc
> ./gecode/int/element/view.icc: In member function 'Gecode::ExecStatus 
> Gecode::Int::Element::ViewDom<ViewA, ViewB>::propagate(Gecode::Space*) [with 
> ViewA = Gecode::Int::IntView, ViewB = Gecode::Int::IntView]':
> gecode/int/element.cc:57:   instantiated from here
> ./gecode/int/element/view.icc:432: error: 
> 'Gecode::Int::Element::View<Gecode::Int::IntView, Gecode::Int::IntView, 
> 2>::n' cannot appear in a constant-expression
> ./gecode/int/element/view.icc:432: error: 
> 'Gecode::Int::Element::View<Gecode::Int::IntView, Gecode::Int::IntView, 
> 2>::n' cannot appear in a constant-expression
> make[1]: *** [gecode/int/element.o] Error 1
> make[1]: Leaving directory `/build/tbm/gecode-1.2.2'
> make: *** [build-arch-stamp] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to