Re: packing structures and numbers

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

 



On Friday 03 October 2008 17:28, Chris Mason wrote:
> On Fri, Oct 03, 2008 at 05:22:51PM -0700, Daniel Phillips wrote:
> > ...Are we sure that attribute ((packed)) works the same on all
> > arches?
> 
> As long as you use types with strictly defined size, yes.

Just to be a language lawyer about that... int does not have a
strictly defined size, yet we define uint32_t as a typedef of int
on 32 bit arches do we not?

Regards,

Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux