From: hreba <f_hreba@yahoo.com.br>
Subject: Re: generic provokes segmentation fault
Date: Mon, 18 May 2020 22:21:37 +0200
Date: 2020-05-18T22:21:37+02:00 [thread overview]
Message-ID: <hig92hFrkdoU1@mid.individual.net> (raw)
In-Reply-To: <r9s8og$dc5$1@dont-email.me>
On 2020-05-17 23:02, Jeffrey R. Carter wrote:
> 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.
>
I moved the package instantiation to an auxiliary package, created only
for this reason, and it works!
Thanks,
--
Frank Hrebabetzky, Kronach +49 / 9261 / 950 0565
prev parent reply other threads:[~2020-05-18 20:21 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
2020-05-18 20:21 ` hreba [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox