Bug#813101: nordlicht: FTBFS on various architectures

James Cowgill james410 at cowgill.org.uk
Mon Feb 1 22:33:28 UTC 2016


On Mon, 2016-02-01 at 22:26 +0000, James Cowgill wrote:
> But 'char' is unsigned on arm so the while condition is always true. If
> nordlicht was compiled with -Wall, gcc would tell you about this:
> 
> > ../main.c: In function 'main':
> > ../main.c:112:39: warning: comparison is always true due to limited
> > range of data type [-Wtype-limits]
> >      while ((c = poptGetNextOpt(popt)) >= 0) { }
> >                                        ^
> > ../main.c:114:11: warning: comparison is always false due to limited
> > range of data type [-Wtype-limits]
> >      if (c < -1) {
> >            ^

Oops it turns out you actually need -Wextra to enable this. It's
definitely worth it to enable both though.

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160201/5b208831/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list