comp.lang.ada
 help / color / mirror / Atom feed
From: Mats_Ohlin_FOA2%QZCOM.MAILNET@MIT-MULTICS.ARPA
Subject: Mutually Recursive Data-Structures in Ahis on csnet a couple of times a
Date: Sat, 21-Sep-85 06:27:31 EDT	[thread overview]
Date: Sat Sep 21 06:27:31 1985
Message-ID: <123750@QZCOM> (raw)
In-Reply-To: 123604@QZCOM

This problem is well known in other languages, e.g. SIMULA.
The problem is not covered in the language definition, however
at least some systems allow the user to compile the first unit
in which the compilation fails *but still generates some attribute
information /used by the compiler when compiling dependent modules/*.
This first compilation then lacks the necessary EXTERNAL declaration
(==> module 2).
Then compiling module 2 is possible even if it is referring to
an uncomplete definition of module 1. Recompiling module 1, this
time including the EXTERNAL declaration, recompiling module 2
and finally recompiling module 1 solves the problem. Cumbersome
maybe, but it works and with full security.

       reply	other threads:[~1985-09-21 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <123604@QZCOM>
1985-09-21 10:27 ` Mats_Ohlin_FOA2%QZCOM.MAILNET [this message]
1985-09-21 10:03   ` Mutually Recursive Data-Structures in Ahis on csnet a couple of times a Mats_Ohlin_FOA2%QZCOM.MAILNET
replies disabled

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