[FFmpeg-devel] [RFC UNTESTED PATCH] Add IA-64 assembly byteswapping functions.

Diego Biurrun diego
Fri Oct 24 10:26:27 CEST 2008

On Thu, Oct 23, 2008 at 05:40:36PM -0700, Eli Friedman wrote:
> On Thu, Oct 23, 2008 at 12:37 AM, Diego Biurrun <diego at biurrun.de> wrote:
> >> +static av_always_inline av_const uint16_t bswap_16(uint16_t x)
> >> +{
> >> +    uint16_t __v;
> >
> > This is an illegal variable name, names starting with __ are reserved
> > for the system.  Please educate the glib guys about this.
> This code is originally from the system header byteswap.h.  glibc
> can't use any unreserved identifiers there because they could be
> redefined.

How does this apply to local variables in functions?  More so if it is
just called plain 'v'?  Do you think glib has to protect itself from

#define v w

?  Not that many programs will compile with that textual substitution in


More information about the ffmpeg-devel mailing list