Ada standard elaboration order

Christophe Meudec meudecc@itcarlow.ie
Fri Oct 19 14:57:00 GMT 2007


Just an old newbie question.

when I look at the elaboration order generated by gnatbind for the 
standard libraries I get the following:


...
    system.soft_links (spec)
    system.soft_links (body)
...
    ada.exceptions (body)
...

but the body of soft_links contains

    Ada.Exceptions.Save_Occurrence
      (NT_TSD.Current_Excep, Ada.Exceptions.Null_Occurrence);

So how can the body of system.soft_links be elaborated prior to the body 
of ada.exceptions since it is dependent on it?

Is my understanding flawed?
chris



More information about the Gcc mailing list