Re: accessing record element (question to the pros)



Martin Krischik wrote:

And if you still want to do it: The newest GNAT has pragma Unchecked_Union.
You find a description in the texts above.

Yes, but realize that that pragma is now officially part of Ada 2005.
It's true the GNAT has it, but I don't think even GNAT supports what's
described in RM05. (But I could be wrong. All compilers differ in how
much of Ada 2005 they support today.)

.



Relevant Pages

  • Re: Restricted or no run time in Ada
    ... will allow GNAT to build code without a runtime code. ... The Ada main procedure has no startup address ... Now to get my kernel to compile I originally used pragma No_Run_Time ...
    (comp.lang.ada)
  • Re: Restricted or no run time in Ada
    ... will allow GNAT to build code without a runtime code. ... That pragma is deprecated for a start. ... then it boots into my main Ada application. ... they have ported the compiler to their os. ...
    (comp.lang.ada)
  • Re: wxWindows binding
    ... "Ada World" Webmaster ... "Craig Carey" wrote in message ... > My GNAT Ada 95 bindings to wxWindows are now here: ... > the "pragma Interrupt_State" ...
    (comp.lang.ada)
  • Re: Extending discriminant types
    ... Because the poster states that he can compiler the code. ... I used Gnat 3.15p using Ada 95 specs. ... type Child is new KBase with null record; ...
    (comp.lang.ada)
  • Re: GNAT GPL 2005 Edition is now available
    ... I oppose Debian moving to any Ada compiler which generates ... code that has serious license restrictions. ... Why should GNAT be any different? ... Will there be *any* compilers available for Ada 2005 suitable ...
    (comp.lang.ada)