[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [pooma-dev] Re: [PATCH] Fix FileSetReader/Writer
- To: "Jeffrey D. Oldham" <oldham@xxxxxxxxxxxxxxxx>
- Subject: Re: [pooma-dev] Re: [PATCH] Fix FileSetReader/Writer
- From: Richard Guenther <rguenth@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 02 Sep 2004 19:13:23 +0200
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.
|