Google Groups Home Help | Sign in
Message from discussion circular module dependency
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Gene Wagenbreth  
View profile
 More options May 8, 2:02 pm
Newsgroups: comp.lang.fortran
From: Gene Wagenbreth <genewxxx@isi-OS4>
Date: Thu, 08 May 2008 11:02:11 -0700
Local: Thurs, May 8 2008 2:02 pm
Subject: circular module dependency
module A uses module B because it calls a routine in module B

module B uses module A because it calls a routine in module A

neither compiles because each needs the other mod file.

So in A I comment out the use of B and the calls to B. I compile
A. Then I compile B. Then I uncomment the use of B and the calls to
B in A. Then I compile A. From then on I can compile each as long
as I dont change the calling sequences and I dont make clean.

This is silly, ugly, etc, but it works.

What am I missing ?

G


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google