Re: openCOLLADA: Help with GCC6 narrowing conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 15, 2016 at 8:50 AM, Dan Horák <dan@xxxxxxxx> wrote:
On Mon, 15 Feb 2016 08:34:31 -0600
Richard Shaw <hobbes1069@xxxxxxxxx> 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.

Thanks,
Richard 
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux