hugin build error with gcc-4.7

12 views
Skip to first unread message

Andreas Metzler

unread,
May 9, 2012, 1:25:49 PM5/9/12
to hugi...@googlegroups.com
Hello,

hugin 2011.4.0 does not build with gcc-4.7. There is an easy to fix
error about a missing include (already tracked and patched in
https://bugs.launchpad.net/hugin/+bug/913250) however there is another
issue that I have only seen on s390 yet:

https://buildd.debian.org/status/fetch.php?pkg=hugin&arch=s390&ver=2011.4.0%2Bdfsg-2&stamp=1336510492
Building CXX object src/hugin_script_interface/CMakeFiles/_hsi.dir/hsiPYTHON_wrap.cxx.o
[...]
/build/buildd-hugin_2011.4.0+dfsg-2-s390-X6zIld/hugin-2011.4.0+dfsg/build-dir/src/hugin_script_interface/hsiPYTHON_wrap.cxx: In function 'Sequence* swig::getslice(const Sequence*, Difference, Difference, Py_ssize_t) [with Sequence = std::vector<unsigned int>, Difference = long int, Py_ssize_t = long int]':
/build/buildd-hugin_2011.4.0+dfsg-2-s390-X6zIld/hugin-2011.4.0+dfsg/build-dir/src/hugin_script_interface/hsiPYTHON_wrap.cxx:5248:45: instantiated from here
/build/buildd-hugin_2011.4.0+dfsg-2-s390-X6zIld/hugin-2011.4.0+dfsg/build-dir/src/hugin_script_interface/hsiPYTHON_wrap.cxx:4476:5: error: invalid initialization of reference of type 'ptrdiff_t& {aka int&}' from expression of type 'long int'

Any ideas?

thanks, cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Reply all
Reply to author
Forward
0 new messages