comp.lang.ada
 help / color / mirror / Atom feed
* Ada.Exceptions could be 'pragma Preelaborate' ?
@ 1998-10-30  0:00 Stephen Leake
  1998-10-30  0:00 ` Robert A Duff
  1998-10-30  0:00 ` Tucker Taft
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen Leake @ 1998-10-30  0:00 UTC (permalink / raw)


Currently, Ada.Exceptions has no elaboration pragma, and thus any unit
that 'withs' Ada.Exceptions cannot have 'pragma Preelaborate'. This is
a pain; I'm building a nice library, everything is either Pure or
Preelaborate, but then I start adding nice error messages to my
exceptions, and I have to get rid of the pragmas. I started replacing
Preelaborate with Elaborate_Body, and got some circular elaboration
problems.

So, is there a reason Ada.Exceptions can't be Preelaborate? nothing in
the public spec violates a rule; do most implementations require
something that does?

-- Stephe




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-11-04  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-30  0:00 Ada.Exceptions could be 'pragma Preelaborate' ? Stephen Leake
1998-10-30  0:00 ` Robert A Duff
1998-10-31  0:00   ` dewar
1998-11-04  0:00   ` Michel Gauthier
1998-11-04  0:00     ` dewar
1998-10-30  0:00 ` Tucker Taft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox