Rep spec for tagged type
From: Daniel Wild (dan_at_example.com)
Date: 08/13/04
- Next message: Jacob Sparre Andersen: "Using Jim Rogers' "Ada Binding to Pipes"? (Was: SSH Sessions?)"
- Previous message: Nick Roberts: "Re: character matching"
- Next in thread: Georg Bauhaus: "Re: Rep spec for tagged type"
- Reply: Georg Bauhaus: "Re: Rep spec for tagged type"
- Reply: Nick Roberts: "Re: Rep spec for tagged type"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Aug 2004 20:47:59 +0930
I'm trying to create a rep spec for a tagged type and getting errors
from GNAT that say `compoonent overlaps tag field of ...'.
I gather this means that GNAT stores the tag for the type at the
beginning of the memory used for the type and I'm trying to overwrite
that by starting my rep spec at 0.
So, I figure I need to shift my rep spec along by however big the tag
is. How can I find the size of this? (I'd rather do it properly that
assume it's 32 bits on my machine).
Thanks,
Dan.
- Next message: Jacob Sparre Andersen: "Using Jim Rogers' "Ada Binding to Pipes"? (Was: SSH Sessions?)"
- Previous message: Nick Roberts: "Re: character matching"
- Next in thread: Georg Bauhaus: "Re: Rep spec for tagged type"
- Reply: Georg Bauhaus: "Re: Rep spec for tagged type"
- Reply: Nick Roberts: "Re: Rep spec for tagged type"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|