comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: generic provokes segmentation fault
Date: Sun, 17 May 2020 23:02:08 +0200
Date: 2020-05-17T23:02:08+02:00	[thread overview]
Message-ID: <r9s8og$dc5$1@dont-email.me> (raw)
In-Reply-To: <hicvepF6b7sU1@mid.individual.net>

On 5/17/20 4:19 PM, hreba wrote:
> 
> and substitute in the main program
> 
>     package Ode renames odeiv2;

Here the package is library-level.

> 
> with
> 
>     type Real is digits 6;
>     package Ode is new odeiv2 (2, Real);

Here it's local to your main-program procedure. Try making the instantiation 
library level and see if that works.

-- 
Jeff Carter
"Who wears beige to a bank robbery?"
Take the Money and Run
144

  parent reply	other threads:[~2020-05-17 21:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 14:19 generic provokes segmentation fault hreba
2020-05-17 17:51 ` Dennis Lee Bieber
2020-05-17 18:34 ` Dmitry A. Kazakov
2020-05-18 11:29   ` hreba
2020-05-18 12:36     ` Dmitry A. Kazakov
2020-05-18 20:16       ` hreba
2020-05-18 21:30         ` Dmitry A. Kazakov
2020-05-17 21:02 ` Jeffrey R. Carter [this message]
2020-05-18 20:21   ` hreba
replies disabled

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