comp.lang.ada
 help / color / mirror / Atom feed
From: Marc J Bejerano <mbejeran@uswest.net>
Subject: Storage error problem...
Date: 1999/02/04
Date: 1999-02-04T00:00:00+00:00	[thread overview]
Message-ID: <36B9A748.5CA5DAA8@uswest.net> (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





             reply	other threads:[~1999-02-04  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-04  0:00 Marc J Bejerano [this message]
1999-02-04  0:00 ` Storage error problem Marc J Bejerano
replies disabled

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