Re: GCC6: implicit casting triggers error

2016-02-04 Thread Jonathan Wakely
On 04/02/16 13:44 +0100, Sandro Mani wrote: On 04.02.2016 13:40, Jakub Jelinek wrote: On Thu, Feb 04, 2016 at 01:36:50PM +0100, Sandro Mani wrote: Med builds are failing with medfile_int_wrap.cc:11272:30: error: no matching function for call to 'std::vector >::erase(SwigValueWrapper<__gnu_cx

Re: GCC6: implicit casting triggers error

2016-02-04 Thread Sandro Mani
On 04.02.2016 13:45, Jonathan Wakely wrote: On 04/02/16 13:36 +0100, Sandro Mani wrote: Hi Med builds are failing with medfile_int_wrap.cc:11272:30: error: no matching function for call to 'std::vector >::erase(SwigValueWrapper<__gnu_cxx::__normal_iteratorstd::vector > > >&)' result = (

Re: GCC6: implicit casting triggers error

2016-02-04 Thread Jonathan Wakely
On 04/02/16 13:36 +0100, Sandro Mani wrote: Hi Med builds are failing with medfile_int_wrap.cc:11272:30: error: no matching function for call to 'std::vector >::erase(SwigValueWrapper<__gnu_cxx::__normal_iterator > > >&)' result = (arg1)->erase(arg2); A standalone version which fails to com

Re: GCC6: implicit casting triggers error

2016-02-04 Thread Sandro Mani
On 04.02.2016 13:40, Jakub Jelinek wrote: On Thu, Feb 04, 2016 at 01:36:50PM +0100, Sandro Mani wrote: Med builds are failing with medfile_int_wrap.cc:11272:30: error: no matching function for call to 'std::vector >::erase(SwigValueWrapper<__gnu_cxx::__normal_iterator > > >&)' result = (a

Re: GCC6: implicit casting triggers error

2016-02-04 Thread Jakub Jelinek
On Thu, Feb 04, 2016 at 01:36:50PM +0100, Sandro Mani wrote: > Med builds are failing with > > medfile_int_wrap.cc:11272:30: error: no matching function for call to > 'std::vector > >::erase(SwigValueWrapper<__gnu_cxx::__normal_iterator std::vector > > >&)' >result = (arg1)->erase(arg2); >

GCC6: implicit casting triggers error

2016-02-04 Thread Sandro Mani
Hi Med builds are failing with medfile_int_wrap.cc:11272:30: error: no matching function for call to 'std::vector >::erase(SwigValueWrapper<__gnu_cxx::__normal_iterator > > >&)' result = (arg1)->erase(arg2); A standalone version which fails to compile (ignoring the fact that arg2 is not in