On Sat, 30 Jul 2016 20:21:02 +0200 "gamera@discard.email" 
<gamera@discard.email> wrote:
> FWIW, the "overflow in constant expression [-fpermissive]" errors may be a 
> compiler bug, see:
> https://gcc.gnu.org/ml/gcc-bugs/2016-02/msg00303.html

Very much thanks for pointing this out!

I've run a new build [1] and it appears that at least this problem has vanished 
in the meanwhile,
there are no complaints about overflows in constant expression anymore.

It remains the group of errors like this:

<cut>
In file included from include/gamera.hpp:62:0,
                 from include/gameramodule.hpp:38,
                 from src/imageobject.cpp:22:
{...}
src/imageobject.cpp:835:73:   required from here
include/rle_data.hpp:623:46: error: call of overloaded 
'prev(std::__cxx11::list<Gamera::RleDataDetail::Run<short unsigned int>, 
std::allocator<Gamera::RleDataDetail::Run<short unsigned int> > >::iterator)' 
is ambiguous
      typename list_type::iterator last = prev(m_data[chunk].end());
                                          ~~~~^~~~~~~~~~~~~~~~~~~~~
include/rle_data.hpp:160:7: note: candidate: T Gamera::RleDataDetail::prev(T) 
[with T = std::_List_iterator<Gamera::RleDataDetail::Run<short unsigned int> >]
     T prev(T i) {
       ^~~~
</cut>

Any more comments/pointers welcome!

DS

[1] 
http://debomatic-amd64.debian.net/distribution#unstable/gamera/3.4.2+svn1454-1/buildlog

-- 
4096R/DF5182C8
http://www.danielstender.com/blog/

Reply via email to