"Robert A Duff" a �crit dans le message de news: wccel752ki5.fsf@shell01.TheWorld.com... > "Grein, Christoph" writes: > > > > * GNAT 3.15p issues: > > > pascalhe.ads:135:03: warning: cannot instantiate "Ad_hoc" before body seen > > > pascalhe.ads:135:03: warning: Program_Error will be raised at run time > > > > Believe Gnat. It's a RM rule to forbid instantiations before elaboration of the body. > > A very annoying rule, indeed. > ???? Since the body of the instance is elaborated at the point of instanciation, the body of the generic has better been elaborated already.... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr