Fix compilation with Altivec
Ryan Arnold
rsa@us.ibm.com
Sat Nov 7 14:23:00 GMT 2009
On Fri, 2009-11-06 at 23:34 -0800, Ulrich Drepper wrote:
> On 11/06/2009 03:03 AM, Petr Baudis wrote:
> > 2009-11-06 Petr Baudis<pasky@suse.cz>
> >
> > * include/sys/uio.h: Change __vector to __iovec to avoid clash
> > with altivec.
>
> Bollocks. Tell these braindead idiots at IBM that they cannot steal
> commonly used keywords.
>
Good grief. Is it necessary to be so reactionary over something so
trivial?
This change from Petr should be non-controversial since it's simply
changing the un-required variable name in a function prototype.
The existing usage in include/sys/uio.h is NOW in-fact a keyword usage
violation since "__vector" is now an actual keyword recognized by the
compiler.
Despite this, Michael Meissner pushed a GCC patch which continues to
allow the use of __vector as a variable name if it isn't followed by a
qualifier which WOULD identify it as a keyword:
http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00026.html
Apparently this was pushed to a version of GCC later than that used by
Petr when he identified this problem.
Ryan S. Arnold
IBM Linux Technology Center
More information about the Libc-alpha
mailing list