------- Additional Comments From timb at bluearc dot com 2005-02-28 17:04 ------- That's orthogonal though - and presumably it only applies to a packed object or member *whose type is not packed by definition*, because you can so easily end up passing a pointer or reference to something that doesn't know about the post facto packing. Where we use packing it's always specified on the struct definition, which ought to be safe in that respect. (Although I can see that potentially some work may be required to be able to issue appropriate warnings for the unsafe uses.)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17519