This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix compilation with Altivec


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]