comp.lang.ada
 help / color / mirror / Atom feed
* Storage error problem...
@ 1999-02-04  0:00 Marc J Bejerano
  1999-02-04  0:00 ` Marc J Bejerano
  0 siblings, 1 reply; 2+ messages in thread
From: Marc J Bejerano @ 1999-02-04  0:00 UTC (permalink / raw)


I have code similar to this:

Type Foo;
Type Foo_P is Access All Foo;

Type Foo is Record
    .
    .
    Bar: Aliased Foo_P;
End Record;

Type AFoo is Array (Natural Range <>) of Foo;

I then declars some variables of type Foo:

ABC : Foo(1..10) := ( ... )
ABC_P : Aliased Foo_P := new Foo(1..10);

in one of the Foo elements I reference a  ABC_P (essentially like a
nested menu).

Under HPUX this works fine.
Under Linux it raises a storage error.

I'd be happy to provide the code, it's just large.

Marc Bejerano





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

* Re: Storage error problem...
  1999-02-04  0:00 Storage error problem Marc J Bejerano
@ 1999-02-04  0:00 ` Marc J Bejerano
  0 siblings, 0 replies; 2+ messages in thread
From: Marc J Bejerano @ 1999-02-04  0:00 UTC (permalink / raw)


Oh, and I'm using GNAT 3.11p on both platforms.

Marc





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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-04  0:00 Storage error problem Marc J Bejerano
1999-02-04  0:00 ` Marc J Bejerano

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