Re: [cc65] bit-fields

From: <silverdr1wfmh.org.pl>
Date: 2009-08-30 20:58:21
On 2009-08-30, at 20:28, Ullrich von Bassewitz wrote:

>> Sure - I shouldn't bother much about the uninitialised part of the
>> struct representation but am simply flagging that as it seems one  
>> byte
>> is differently handled than the other - it makes me suspicious and
>> possibly it might be worth checking for bugs there...
>
> As Groepaz has already pointed out, this is because the structure is
> uninitialized. Just initialize it my making it static or overlaying  
> a union.

Yes. I checked various combinations. So far seems to work fine.

Regards,

-- 
SD!
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Aug 30 20:58:29 2009

This archive was generated by hypermail 2.1.8 : 2009-08-30 20:58:31 CEST