[vlc-devel] Win64 patch and format

Rémi Denis-Courmont remi at remlab.net
Wed Sep 2 17:32:40 CEST 2009


Le mercredi 2 septembre 2009 18:22:18 Rafaël Carré, vous avez écrit :
> On Wed, 2 Sep 2009 18:08:45 +0300
>
> "Rémi Denis-Courmont" <remi at remlab.net> wrote:
> > >  /* Format string sanity checks */
> > >  #ifdef __GNUC__
> > > +# ifdef _WIN64
> > > +#   define LIBVLC_FORMAT(x,y) __attribute__
> > > ((format(gnu_printf,x,y))) +# else
> >
> > Wouldn't that apply to any Mingw variant, not just Win64?
>
> It would apply to Linux, *BSD, OSX, etc .. because we use the glibc
> specific format at least in __msg_Generic() with "%m"

Do their gcc only support gnu_printf?? It's not in the official documentation.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list