Re: VDR developer version 1.5.15 - compilation warnings

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

 



On Tuesday 19 Feb 2008, Klaus Schmidinger wrote:

> > remote.c:124: warning: format "%016LX" expects type "long long
> > unsigned int", but argument 4 has type "uint64_t"
>
> Apparently there are macros for this, like PRId64 and such.
> But i don't like having to write something like
>
>   int64_t n = ...;
>   printf("Some number %" PRId64 "\n", n);

It seems to be the POSIX way...

> Don't know if the gettext mechanisms would be able to handle
>
>        tr("Some number %" PRId64 "\n")

It would probably be necessary to have multiple translations for the string 
after macro expansion (negating the whole reason for having the macro in 
the first place). 
-- 
Dave

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux