[vlc-devel] [RFC] Wrapper to work around %z limitation on Windows

Rémi Denis-Courmont remi at remlab.net
Fri Mar 6 14:49:57 CET 2009

On Fri, 6 Mar 2009 13:35:21 +0100, Pierre Ynard <linkfanel at yahoo.fr> wrote:
> Another question, do we want to divert all 8 *printf functions to
> wrappers? It might be a little intrusive... For example, redefining
> printf with a macro causes compilation warning when "__attribute__
> ((format (printf, x, y)));" is used.

As long as it is platform specific (and it currently is), you can hijack
the calls at the linking stage if you want to avoid problematic macros.

Rémi Denis-Courmont

More information about the vlc-devel mailing list