[pooma-dev] Re: [PATCH] Fix FileSetReader/Writer

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Thu Sep 2 17:13:23 UTC 2004


Jeffrey D. Oldham wrote:

> It is possible to change your patch to use an Offset_t instead of 
> char[8]?  This seems a more portable way to align to 64 bits.

I don't think it makes a difference.  But I don't know possible oddities
of the C++ standard regarding struct layout - I'm only familiar here 
with C for which it doesn't make a difference.  I only know that (for C) 
for two standard conforming compilers there still can be layout 
differences due to allowed padding.  And there is no portable way of
specifying __attribute__((packed)).  But I guess that's an academic issue.

> Regardless, please commit your patch.  I guess these two items will no 
> longer fail in the nightly tests starting 03Sep.
> 
> Thanks for fixing this.

Done,

Richard.




More information about the pooma-dev mailing list