Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-18 Thread Ralf Corsepius
On 02/19/2016 12:05 AM, David Woodhouse wrote: On Mon, 2016-02-15 at 17:09 +0100, Ralf Corsepius wrote: Exactly. Because of this, I -fsigned-char should only be applied as a last resort/work-around to mere program/application packages and not to library packages, IMHO. Or to programs which *use

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-18 Thread Kevin Kofler
Dan Horák wrote: > you are welcome, there will be more packages suffering from the same > problem (I own at least one :-)), sometimes appending "-fsigned-char" > to CFLAGS will be easier. It is also possible to just get rid of the narrowing error with: -Wno-error=narrowing but that will only resto

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-18 Thread David Woodhouse
On Mon, 2016-02-15 at 17:09 +0100, Ralf Corsepius wrote: > > Exactly. Because of this, I -fsigned-char should only be applied as a  > last resort/work-around to mere program/application packages and not to  > library packages, IMHO. Or to programs which *use* libraries? :) -- dwmw2 smime.p7s

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-16 Thread Jonathan Wakely
On 16/02/16 10:51 +, Jonathan Wakely wrote: Given that there are dozens of those initializers it might be more readable to do: static const char none = -1; const char HEX2DEC[256] = { none, none, none, . } For the avoidance of doubt, this is not an error in C++11. Narrowing conversion

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-16 Thread Jonathan Wakely
On 15/02/16 23:46 +0900, Mamoru TASAKA wrote: Richard Shaw wrote on 02/15/2016 11:34 PM: Can someone point me in the right direction? My package openCOLLADA is FTBFS in rawhide with the following (repeating) error: /builddir/build/BUILD/OpenCOLLADA-3335ac164e68b2512a40914b14c74db260e6ff7d/COLLA

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-16 Thread Jonathan Wakely
On 16/02/16 01:34 +0100, Michael Schwendt wrote: On Mon, 15 Feb 2016 16:46:32 +0100, Dan Horák wrote: you are welcome, there will be more packages suffering from the same problem (I own at least one :-)), sometimes appending "-fsigned-char" to CFLAGS will be easier. A couple of narrowing-conv

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-15 Thread Michael Schwendt
On Mon, 15 Feb 2016 16:46:32 +0100, Dan Horák wrote: > you are welcome, there will be more packages suffering from the same > problem (I own at least one :-)), sometimes appending "-fsigned-char" > to CFLAGS will be easier. A couple of narrowing-conversion problems had turned up in Oct 2015 alrea

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-15 Thread Ralf Corsepius
On 02/15/2016 04:54 PM, Jakub Jelinek wrote: On Mon, Feb 15, 2016 at 04:46:32PM +0100, Dan Horák wrote: On Mon, 15 Feb 2016 09:35:03 -0600 Richard Shaw wrote: On Mon, Feb 15, 2016 at 8:50 AM, Dan Horák wrote: On Mon, 15 Feb 2016 08:34:31 -0600 Richard Shaw wrote: Can someone point me in

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-15 Thread Jakub Jelinek
On Mon, Feb 15, 2016 at 04:46:32PM +0100, Dan Horák wrote: > On Mon, 15 Feb 2016 09:35:03 -0600 > Richard Shaw wrote: > > > On Mon, Feb 15, 2016 at 8:50 AM, Dan Horák wrote: > > > > > On Mon, 15 Feb 2016 08:34:31 -0600 > > > Richard Shaw wrote: > > > > > > > Can someone point me in the right d

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-15 Thread Dan Horák
On Mon, 15 Feb 2016 09:35:03 -0600 Richard Shaw wrote: > On Mon, Feb 15, 2016 at 8:50 AM, Dan Horák wrote: > > > On Mon, 15 Feb 2016 08:34:31 -0600 > > Richard Shaw wrote: > > > > > Can someone point me in the right direction? My package > > > openCOLLADA is FTBFS in rawhide with the following

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-15 Thread Richard Shaw
On Mon, Feb 15, 2016 at 8:50 AM, Dan Horák wrote: > On Mon, 15 Feb 2016 08:34:31 -0600 > Richard Shaw wrote: > > > Can someone point me in the right direction? My package openCOLLADA is > > FTBFS in rawhide with the following (repeating) error: > > > > > /builddir/build/BUILD/OpenCOLLADA-3335ac1

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-15 Thread Dan Horák
On Mon, 15 Feb 2016 08:34:31 -0600 Richard Shaw wrote: > Can someone point me in the right direction? My package openCOLLADA is > FTBFS in rawhide with the following (repeating) error: > > /builddir/build/BUILD/OpenCOLLADA-3335ac164e68b2512a40914b14c74db260e6ff7d/COLLADABaseUtils/src/COLLADABUUR

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-15 Thread Richard Shaw
On Mon, Feb 15, 2016 at 8:46 AM, Mamoru TASAKA wrote: > Richard Shaw wrote on 02/15/2016 11:34 PM: > >> Can someone point me in the right direction? My package openCOLLADA is >> FTBFS in rawhide with the following (repeating) error: >> >> >> /builddir/build/BUILD/OpenCOLLADA-3335ac164e68b2512a409

Re: openCOLLADA: Help with GCC6 narrowing conversion

2016-02-15 Thread Mamoru TASAKA
Richard Shaw wrote on 02/15/2016 11:34 PM: Can someone point me in the right direction? My package openCOLLADA is FTBFS in rawhide with the following (repeating) error: /builddir/build/BUILD/OpenCOLLADA-3335ac164e68b2512a40914b14c74db260e6ff7d/COLLADABaseUtils/src/COLLADABUURI.cpp:57:2: error: n

openCOLLADA: Help with GCC6 narrowing conversion

2016-02-15 Thread Richard Shaw
Can someone point me in the right direction? My package openCOLLADA is FTBFS in rawhide with the following (repeating) error: /builddir/build/BUILD/OpenCOLLADA-3335ac164e68b2512a40914b14c74db260e6ff7d/COLLADABaseUtils/src/COLLADABUURI.cpp:57:2: error: narrowing conversion of '-1' from 'int' to 'ch