[vdr] VDR developer version 1.5.15 - compilation warnings

Dave P vdr at pickles.me.uk
Tue Feb 19 19:55:47 CET 2008


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



More information about the vdr mailing list