Bug#790349: bs1770gain: Fail to build when clock_t is not long int

Fabian Greffrath fabian at debian.org
Sun Jun 28 12:59:59 UTC 2015


Am Sonntag, den 28.06.2015, 13:23 +0200 schrieb Petter Reinholdtsen:
> 
> bs1770gain.c: In function 'main':
> bs1770gain.c:647:5: error: format '%ld' expects argument of type 
> 'long int', but argument 3 has type 'clock_t' [-Werror=format=]
>      fprintf(stderr, "Duration: %ld ms.\n",(t2
> -t1)/CLOCKS_PER_MILLIS);
>      ^
> cc1: all warnings being treated as errors

Again, this issue isn't *so* severe that it would justify a FTBFS. I
don't understand why you do not simply strip "-Werror" off the CFLAGS?

 - Fabian

-------------- 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/20150628/3e38028d/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list