dotgnu-general
[Top][All Lists]
Advanced

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

Re: [DotGNU]a segfault on anonymous bit field


From: Gopal V
Subject: Re: [DotGNU]a segfault on anonymous bit field
Date: Thu, 29 Aug 2002 20:12:41 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Rhys Weatherley wrote:
> Bit fields with "" names will be problematic elsewhere, so I need
> to come up with a better solution than scanning previous BitField
> definitions for the new position.

I saw that multiple "" declarations did not mess up the struct ..
And there is no earthly way (save Reflection) to access that value.

I was pondering whether adding a new ILUInt32 bitOffset to the
c_grammar.y:structinfo and play around with $<structinfo>$ and
something like currentStruct to store the currentBitOffset...
(the -simplest- solution ?)

I haven't tried it yet , as bison brings me out in spots ...

Gopal
-- 
The difference between insanity and genius is measured by success


reply via email to

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