On Thu, 8 Feb 2007, Phil Endecott wrote:

> > From a
> > higher-level (source code) point of view, the alignment doesn't affect the 
> > set of operations which can be applied to the data type.
> 
> It affects whether you can legally use & to take its address.

Are you sure about that?  I would think that if you take the address of an
unaligned quantity, you simply end up with an unaligned pointer, not with
a compiler error.  (Remember, we're talking specifically about GCC here.  
The official C language doesn't include any of these concepts.)

It's not like trying to take the address of a bitfield member.  That 
really can't be done.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to