Re: Understanding alignment in g++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ian Lance Taylor wrote:
Yang Zhang <yanghatespam@xxxxxxxxx> writes:

I expected a cast-align warning or something.

If you use -Wcast-align you should get a warning for targets where the
cast increases the required alignment.

Sorry for being unclear. I was trying to say that I had specified -Wcast-align but got no such warning. Any hints?
--
Yang Zhang
http://www.mit.edu/~y_z/

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux