On Mon, 15 Feb 2016 09:35:03 -0600
Richard Shaw <hobbes1...@gmail.com> wrote:

> On Mon, Feb 15, 2016 at 8:50 AM, Dan Horák <d...@danny.cz> wrote:
> 
> > On Mon, 15 Feb 2016 08:34:31 -0600
> > Richard Shaw <hobbes1...@gmail.com> 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/COLLADABUURI.cpp:57:2:
> > > error: narrowing conversion of '-1' from 'int' to 'char' inside
> > > { } [-Wnarrowing]
> > >   };
> >
> > isn't it on ARM? Then you should use explicit "signed char" as char
> > is unsigned by default on ARM (and other arches), see eg.
> > http://blog.cdleary.com/2012/11/arm-chars-are-unsigned-by-default/
> 
> 
> Thanks Dan, that got it, adding an explicit signed fixed the build.

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.


                Dan
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to