"Ada.Exceptions.Exception_Propagation" is not a predefined library unit
Luke A. Guest
laguest@archeia.com
Thu Oct 14 13:37:00 GMT 2010
On Thu, 2010-10-14 at 09:31 +0200, Duncan Sands wrote:
> Hi Luke,
>
> > a-exexpr.adb:39:06: "Ada.Exceptions.Exception_Propagation" is not a
> > predefined library unit
>
> it looks like you get this error when the compiler can't find a file that it
> thinks forms part of the Ada library (this is determined by the name, eg: a
> package Ada.XYZ is expected to be part of the Ada library). For example,
> if the compiler looks for the spec of Ada.Exceptions.Exception_Propagation
> (which should be called a-exexpr.ads) but can't find it then you will get
> this message. At least, that's my understanding from a few minutes of
> rummaging around in the source code.
Hmmm, well, this spec is actually inside the body of a-except.adb (which
also specifies that the body of a-exexpr.ads is separate. All files are
present in the rts dirs.
Thanks,
Luke.
More information about the Gcc
mailing list