gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Follow up for bugs reported June 17


From: SiTex Graphics
Subject: Re: [Gm2] Follow up for bugs reported June 17
Date: Fri, 9 Oct 2009 11:41:02 -0700

> SiTex Graphics <address@hidden> writes:
>
>> Another question:  is there a way to specify the data alignment of a
>> record type?  I have a record that represents a file format on disk
>> which needs an alignment of 1 (ie no pad bytes for any field).
>
> currently not yet - although this is an easy addition to gm2.  All the
> hooks are available in gcc and as such perhaps this should be
> implemented pre 1.0

That would be very helpful.  Our apps do a lot of file access where we
need to match a particular format, and I'd like to avoid the memory
overhead of long aligned fields in general.

A simple global switch would be fine.

Thanks,
Scott




reply via email to

[Prev in Thread] Current Thread [Next in Thread]