<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AAA Recompiling already compiled files in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930727#M14734</link>
    <description>I apologize, the last example I posted to this thread could have been solved using the method described by Sabalan earlier in this thread. I.e. saving the source files "manually" before building the project. The same goes for the example posted by Dick. &lt;BR /&gt; &lt;BR /&gt;It seems that leaving the responsebility for saving modified source files to Developer Studio is not a good thing to do (at least not when you do use modules in your project)&lt;BR /&gt; &lt;BR /&gt;By the way, I am a bit curious how it is possible that Dick's example can be build anyway?&lt;BR /&gt; &lt;BR /&gt;Doesn't recompiling of a source file that contains a module also causes updating of the *.mod file and thus cause the need for recompiling of all sources that depend on this *.mod file?&lt;BR /&gt; &lt;BR /&gt;Walter Kramer</description>
    <pubDate>Fri, 19 Jan 2001 16:46:23 GMT</pubDate>
    <dc:creator>wkramer</dc:creator>
    <dc:date>2001-01-19T16:46:23Z</dc:date>
    <item>
      <title>AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930710#M14717</link>
      <description>Hello, &lt;BR /&gt; &lt;BR /&gt;I keep having problems with files recompiling although they just have been compiled. &lt;BR /&gt;For some projects I have to build the project several times before recompiling stops. &lt;BR /&gt;It didn't bother me very much before, but as projects are getting bigger the problem is getting more annoying. &lt;BR /&gt;It seems to happen mainly with programs that make extensive use of modules (although I am not really sure that that's the reason). &lt;BR /&gt;I first guessed that it had to do with circular references between modules, but I cannot find such a situation. The compiler/linker will probably detect such situations anyway doesn't it? &lt;BR /&gt;I guess it is a Microsoft Developer Studio problem. The same problem appears if I build these projects on other computers with CVF installed. &lt;BR /&gt;Has anyone else seen this problem? Is there a solution? &lt;BR /&gt; &lt;BR /&gt;Thanks, &lt;BR /&gt; &lt;BR /&gt;Walter Kramer</description>
      <pubDate>Fri, 01 Dec 2000 05:03:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930710#M14717</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2000-12-01T05:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930711#M14718</link>
      <description>Hi Walter,  &lt;BR /&gt;  &lt;BR /&gt;Your subject line had me rolling! :)  The Yellow Pages would be proud.  &amp;amp;ltvbg&amp;gt;  &lt;BR /&gt;  &lt;BR /&gt;If your problem is DevStudio related (dialog saying that the project should be rebuilt even though you just did), this has almost always worked for me: close workspace, delete .opt and .ncb files and re-open workspace.  The files will be re-generated.  &lt;BR /&gt;  &lt;BR /&gt;hth,  &lt;BR /&gt;John</description>
      <pubDate>Fri, 01 Dec 2000 06:22:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930711#M14718</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2000-12-01T06:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930712#M14719</link>
      <description>Thank you John, &lt;BR /&gt; &lt;BR /&gt;Deleting the .opt file seems to work, but what is an .ncb file? &lt;BR /&gt; &lt;BR /&gt;Adding the "AAA " to the subject line was obviously intended to ridicule the sorting method of the new forum. At this moment there are only 21 messages, so it is still possible to look for new ones, but this could change. &lt;BR /&gt;Although who's gonna post a question that nobody is ever gonna find? &lt;BR /&gt; &lt;BR /&gt;Walter Kramer</description>
      <pubDate>Fri, 01 Dec 2000 07:14:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930712#M14719</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2000-12-01T07:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930713#M14720</link>
      <description>This is one of those places where a reply-to-a-reply is a nice feature. &lt;BR /&gt; &lt;BR /&gt;If you don't have VC++ installed, you probably don't get the .ncb. &lt;BR /&gt;Here's a description of MSVC++ file types in the &lt;A href="http://msdn.microsoft.com/library/devprods/vs6/visualc/vccore/_core_file_types_created_for_visual_c.2b2b_.projects.htm" target="_blank"&gt;VC++ Users Guide&lt;/A&gt; &lt;BR /&gt; &lt;BR /&gt;-John</description>
      <pubDate>Fri, 01 Dec 2000 07:54:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930713#M14720</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2000-12-01T07:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930714#M14721</link>
      <description>Deleting .opt and .ncb files and rebuilding the project does not help always. The problem seems have to do with time stamp of the object and source files: Every time you try to run your program from within Dev.Studio, it seems to compare the times when object and source files were created. And if you have just modified your source files AND if you have the source files somewhere far in the network or in some Source Safe data base, then it happens often that the object files are built and saved before the source files (or some of them) got to saved at their place far away when you run "Rebuild". Thus the source files are newer than object files again! &lt;BR /&gt; &lt;BR /&gt;I don't know how to solve this. &lt;BR /&gt; &lt;BR /&gt;BTW, I posted a message on Nov. 28 (Porting from VMS) but it never appeared on the board. &lt;BR /&gt; &lt;BR /&gt;Regards, &lt;BR /&gt;Sabalan.</description>
      <pubDate>Fri, 01 Dec 2000 19:09:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930714#M14721</guid>
      <dc:creator>sabalan</dc:creator>
      <dc:date>2000-12-01T19:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930715#M14722</link>
      <description>Hi, &lt;BR /&gt; &lt;BR /&gt;A same kind of problem occurs with the Textpad text editor &lt;A href="https://community.intel.com/www.textpad.com"&gt; textpad &lt;/A&gt;. &lt;BR /&gt;After saving a file keeping the file open, switching to another application and returning to textpad you get a message that another application has updated the file, although this isn't true. It seems to have something to do with the windows cache and the timestamp. The textpad people haven't been able to solve the problem also. &lt;BR /&gt;Deleting the .opt file helped me yesterday, but today the problem reoccured, and I couldn't solve it by deleting the .opt file. &lt;BR /&gt; &lt;BR /&gt;Walter Kramer</description>
      <pubDate>Sat, 02 Dec 2000 05:12:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930715#M14722</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2000-12-02T05:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930716#M14723</link>
      <description>If the theory in my precious posting is right, then doing the job ?manually? should help: ?Save all? your source files first (e.g. clicking on the button with several floppies), give the computer (and the network) some second to complete the saving process, and then run ?Build? or ?Rebuild all?. &lt;BR /&gt; &lt;BR /&gt;Sabalan.</description>
      <pubDate>Sun, 03 Dec 2000 19:29:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930716#M14723</guid>
      <dc:creator>sabalan</dc:creator>
      <dc:date>2000-12-03T19:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930717#M14724</link>
      <description>I am afraid that nothing really seems to help.  &lt;BR /&gt;Deleting the opt file helps sometimes.&lt;AR&gt;  &lt;BR /&gt;Saving all files and waiting a while before a "build" or "rebuild all" causes of course a re building of all files, but if I try to "run" the program a dialog asks if I want to rebuild (without a reason as far as I know).&lt;AR&gt;  &lt;BR /&gt;  &lt;BR /&gt;Sometimes the re building even starts automatically after a build has just finished, as if something has changed in the mean time (which is obviously not the case).&lt;AR&gt;  &lt;BR /&gt;I have tried it on a stand alone machine with Windows 98 and in a network environment under TN. That makes no difference.&lt;AR&gt;  &lt;BR /&gt;  &lt;BR /&gt;Am I right to assume that the compiler/linker checks for circular references in modules?&lt;AR&gt;  &lt;BR /&gt;I am pretty sure that this is not the case in my projects, but if the compiler/linker checks it I can be certain.&lt;AR&gt;  &lt;BR /&gt;  &lt;BR /&gt;Walter Kramer&lt;/AR&gt;&lt;/AR&gt;&lt;/AR&gt;&lt;/AR&gt;&lt;/AR&gt;&lt;/AR&gt;</description>
      <pubDate>Tue, 05 Dec 2000 05:32:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930717#M14724</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2000-12-05T05:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930718#M14725</link>
      <description>Hello,  &lt;BR /&gt;  &lt;BR /&gt;If someone wanders what &lt;AR&gt; means in my previous posting to this thread:  &lt;BR /&gt;I used "Spell Check" after composing this message.  &lt;BR /&gt;&lt;PRE&gt;The spelling checker changed &lt;BR /&gt; to &lt;AR&gt;.&lt;/AR&gt;&lt;/PRE&gt;  &lt;BR /&gt;You can press "edit" after you used the spelling checker, which gives you the impression that you can still modify things, but that is just to keep you busy.  &lt;BR /&gt;  &lt;BR /&gt;Walter&lt;/AR&gt;</description>
      <pubDate>Tue, 05 Dec 2000 05:41:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930718#M14725</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2000-12-05T05:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930719#M14726</link>
      <description>Hi Walter, &lt;BR /&gt; &lt;BR /&gt;Yes, that problem exists, (don't know if they fixed it in CVF 6.5). The problem is that source files are dependent from Debug*.mod files and such dependencies are not handled correctly (I don't know whether it is a bug in Developer Studio or Compaq's implementation). If your project consists _only_ of MODULEs, that can be a huge problem. I have a large project with about 20 MODULE files, while the other 80 contain just routines. When it is necessary to rebuild all (or make a change in a high-ranked solution) I use the following half-solution: &lt;BR /&gt; &lt;BR /&gt;1. Build/Update all dependencies &lt;BR /&gt; &lt;BR /&gt;2. Build the project. When all MODULEs are done, i.e. when it gets to the &lt;BR /&gt;first non-MODULE source, break the compiling (ctrl+break)  &lt;BR /&gt; &lt;BR /&gt;3. Repeat step 2 until it does not compile MODULE files anymore. Let the &lt;BR /&gt;compiler finish the job. &lt;BR /&gt; &lt;BR /&gt;4. The linker will complain about the source file where compilation was interrupted. Re-compile that file (right-click in FileView/Compile) &lt;BR /&gt; &lt;BR /&gt;5. Repeat (4) until the linker finishes the job. &lt;BR /&gt; &lt;BR /&gt;HTH &lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Tue, 05 Dec 2000 21:19:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930719#M14726</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2000-12-05T21:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930720#M14727</link>
      <description>Hi Jugoslav, &lt;BR /&gt; &lt;BR /&gt;The method you describe works rather well for projects with only limited use of modules. &lt;BR /&gt; &lt;BR /&gt;However, since using modules can help you considerably in structurizing your projects, I started reorganizing some major programs a while ago making extensive use of modules. &lt;BR /&gt;I love the use of private, public, only and alias capabilities of modules, and the reduction in interface sections. &lt;BR /&gt;Now it seems that my enthusiasme for the use of modules has saddled me up with another problem. &lt;BR /&gt;I have upgraded to CVF 6.5, but the problem remains. &lt;BR /&gt;I think that it is a DevStudio related problem anyway. I assume that keeping track of changes to source code, modules libraries and or object files is a DevStudio task. &lt;BR /&gt;I don't find any information on this subject in the Microsoft Newsgroups or on their web site though. &lt;BR /&gt; &lt;BR /&gt;I guess I just will have to learn to live with  the problem and try to stay of the modules in the future if possible. &lt;BR /&gt; &lt;BR /&gt;Thanks Walter</description>
      <pubDate>Wed, 06 Dec 2000 05:52:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930720#M14727</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2000-12-06T05:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930721#M14728</link>
      <description>Yes - all of the dependency tracking is handled by Microsoft components of Developer Studio that we can't modify.  It seems that people tend to have this problem more often if sources are kept on a remote server.  But sometimes there's something we can do, so please send a sample workspace, if all the files are local, to us at vf-support@compaq.com and we'll take a look.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 06 Dec 2000 06:29:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930721#M14728</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2000-12-06T06:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930722#M14729</link>
      <description>I am afraid I am not allowed to send any of the workspaces I was talking about (These projects do have all the files local). &lt;BR /&gt; &lt;BR /&gt;I will try to create something as simple as possible that shows the problem and send it to vf-support. &lt;BR /&gt; &lt;BR /&gt;Walter Kramer</description>
      <pubDate>Wed, 06 Dec 2000 06:47:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930722#M14729</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2000-12-06T06:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930723#M14730</link>
      <description>Walter, &lt;BR /&gt; &lt;BR /&gt;I believe I encountered the same problem today, after adding a couple more modules to a project under construction. "Rebuild all" would run to completion. Then, when I tried to run the program from the debugger, I got the message &lt;BR /&gt; &lt;BR /&gt;One or more files are out of date or do not exist. &lt;BR /&gt; &lt;BR /&gt;These files need to be built: &lt;BR /&gt; &lt;BR /&gt;etc. &lt;BR /&gt; &lt;BR /&gt;Would you like to build them? &lt;BR /&gt; &lt;BR /&gt;I chose Yes. The program then rebuilt and ran. I immediately chose the normal exit from the program and tried to run it again. The same message came up. &lt;BR /&gt; &lt;BR /&gt;I discovered I had a module in one file that USEd a module in another file. A subroutine in the second file used the module in the first file. I then created a new file called LowLevelModules.f90 and moved to it all of the modules that did not reference any other modules. &lt;BR /&gt; &lt;BR /&gt;End of problem!</description>
      <pubDate>Thu, 18 Jan 2001 08:09:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930723#M14730</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-01-18T08:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930724#M14731</link>
      <description>Dick, &lt;BR /&gt; &lt;BR /&gt;I don't have any multi-module files. Every module is in a seperate file. &lt;BR /&gt;So I am afraid your solution won't work for me. Thanks anyway. &lt;BR /&gt;I did send a project that has this problem to CVF-support. Hopefully they can come up with a solution. &lt;BR /&gt; &lt;BR /&gt;Walter Kramer</description>
      <pubDate>Fri, 19 Jan 2001 02:34:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930724#M14731</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2001-01-19T02:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930725#M14732</link>
      <description>Walter,  &lt;BR /&gt;  &lt;BR /&gt;You don't have to have multi-module files. Here's a short example of a console program that does not have circular references between modules but does have circular references between &lt;I&gt;files&lt;/I&gt;:  &lt;BR /&gt;  &lt;BR /&gt;&lt;I&gt;&lt;B&gt;File One&lt;/B&gt;&lt;/I&gt;&lt;B&gt;&lt;/B&gt;  &lt;BR /&gt;&lt;PRE&gt;  
PROGRAM TestRecompile  
  USE MOD1  
  IMPLICIT NONE  
  CALL SUB2  
  CALL SUB1  
END PROGRAM TestRecompile  
&lt;/PRE&gt;  &lt;BR /&gt;  &lt;BR /&gt;&lt;I&gt;&lt;B&gt;File Two&lt;/B&gt;&lt;/I&gt;&lt;B&gt;&lt;/B&gt;  &lt;BR /&gt;&lt;PRE&gt;  
MODULE MOD1  
  TYPE T1  
    INTEGER :: M1  
    REAL :: X1  
  END TYPE T1  
END MODULE MOD1  
  
SUBROUTINE SUB1  
  USE MOD2  
  IMPLICIT NONE  
  PRINT*, UT1  
  PRINT*, M2  
END SUBROUTINE SUB1  
&lt;/PRE&gt;  &lt;BR /&gt;  &lt;BR /&gt;&lt;I&gt;&lt;B&gt;File Three&lt;/B&gt;&lt;/I&gt;&lt;B&gt;&lt;/B&gt;  &lt;BR /&gt;&lt;PRE&gt;  
MODULE MOD2  
  USE MOD1  
  TYPE (T1) :: UT1  
  INTEGER :: M2  
END MODULE MOD2  
  
SUBROUTINE SUB2  
  USE MOD2  
  IMPLICIT NONE  
  M2 = 3  
  UT1%M1 = 4  
  UT1%X1 = 1.7  
END SUBROUTINE SUB2  
&lt;/PRE&gt;  &lt;BR /&gt;  &lt;BR /&gt;Dick  &lt;BR /&gt;(IE5/WinNT, msg. prepared with formatting codes)</description>
      <pubDate>Fri, 19 Jan 2001 03:11:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930725#M14732</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-01-19T03:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930726#M14733</link>
      <description>Hello Dick, &lt;BR /&gt; &lt;BR /&gt;This could very well be the problem I face with some of my projects. I will start scrutinizing then for the appearance of the phenomenon you describe. Thanks.&lt;BR /&gt; &lt;BR /&gt;On the other hand the following simple console application also doesn't seem to be able to keep track of file dates:&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;STRONG&gt;File one&lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;PRE&gt; &lt;BR /&gt;module el_1 &lt;BR /&gt;integer,parameter::u1rb=2 &lt;BR /&gt;real*4 :: ra1(u1rb) &lt;BR /&gt;contains &lt;BR /&gt;subroutine p1(i) &lt;BR /&gt;  integer, intent(in) :: i  &lt;BR /&gt;  if (i.le.u1rb) then &lt;BR /&gt;    ra1(i)= 10.  &lt;BR /&gt;  endif &lt;BR /&gt;end subroutine &lt;BR /&gt;end module &lt;BR /&gt; &lt;/PRE&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;STRONG&gt;File two&lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;PRE&gt; &lt;BR /&gt;use el_1 &lt;BR /&gt;call p1(1) &lt;BR /&gt;end &lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt; &lt;BR /&gt;The first build goes OK, but forcing a rebuild of file one, for instance by adding a character and removing it again,  then press F7 to build followed by F5 to run will result in a polite request to rebuild the project. &lt;BR /&gt;(try several times because it sometimes goes OK for no obvious reason)&lt;BR /&gt; &lt;BR /&gt;When changes are made to file two this problem won't occur.&lt;BR /&gt; &lt;BR /&gt;I also noticed that forcing a rebuild by explicitly saving file one doesn't trigger the problem.&lt;BR /&gt; &lt;BR /&gt;Seeing the number of suggestions that have been made regarding the cause of this problem, it seems that Developer Studio is just not equiped very well to deal with modules.&lt;BR /&gt; &lt;BR /&gt;I hope update 6.5a arrives quickly so I can switch to the faster module compilation CVF 6.5 has to offer. This recompilation thing gets very annoying especially if you combine windows programs with lots of modules.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Thanks&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Walter</description>
      <pubDate>Fri, 19 Jan 2001 07:16:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930726#M14733</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2001-01-19T07:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930727#M14734</link>
      <description>I apologize, the last example I posted to this thread could have been solved using the method described by Sabalan earlier in this thread. I.e. saving the source files "manually" before building the project. The same goes for the example posted by Dick. &lt;BR /&gt; &lt;BR /&gt;It seems that leaving the responsebility for saving modified source files to Developer Studio is not a good thing to do (at least not when you do use modules in your project)&lt;BR /&gt; &lt;BR /&gt;By the way, I am a bit curious how it is possible that Dick's example can be build anyway?&lt;BR /&gt; &lt;BR /&gt;Doesn't recompiling of a source file that contains a module also causes updating of the *.mod file and thus cause the need for recompiling of all sources that depend on this *.mod file?&lt;BR /&gt; &lt;BR /&gt;Walter Kramer</description>
      <pubDate>Fri, 19 Jan 2001 16:46:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930727#M14734</guid>
      <dc:creator>wkramer</dc:creator>
      <dc:date>2001-01-19T16:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930728#M14735</link>
      <description>Walter,  &lt;BR /&gt;I should have mentioned earlier that I have CVF 6.5 running on WinNT.  &lt;BR /&gt;Perhaps because of that, my experience differs from yours in two ways. 1) After more than twenty attempts, I have not had any problem at all with your example, and 2) Sabalan's method doesn't solve the problem with my example. I think you're right to wonder how mine can build at all; in fact, Rebuild All always results in eight errors.  &lt;BR /&gt;Dick</description>
      <pubDate>Sat, 20 Jan 2001 03:01:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930728#M14735</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-01-20T03:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: AAA Recompiling already compiled files</title>
      <link>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930729#M14736</link>
      <description>I have come into this conversation rather late, but let me say that I see exactly these problems also.  We are developing/rewriting a program which has on the order of 300 files.  Most every file has 1 module per file, and that is it.  A small number of files have one subroutine per file.  I have been living with this behavior since the 5.0D days (3-4 years ago) and am now at 6.5.  I see four kinds of behavior: &lt;BR /&gt; &lt;BR /&gt;a)  the compile will fail because it can't resolve a USE dependency because the USE'd module has not yet been built (even though we hit "Update all dependencies" before starting the compile).  Sometimes, I can hit the Build button again, and it compiles to the end, other times, I pretty much have to compile the offending uncompiled module manually, hit build again, and all goes fine. &lt;BR /&gt; &lt;BR /&gt;b)  the code compiles all the way to the end, links the objects, then goes off and recompiles more modules and subroutines &lt;BR /&gt; &lt;BR /&gt;c)  when I hit the Debug button, DevStudio asks if I want to recompile.  This is not all that troubling to me since it is not a real timewaster - I just hit "No" - I am smarter than the software :-).  It used to be in previous versions that this would happen more often to me when step (b) would occur.  This would of course make sense because if some modules are recompiled after the link step, DevStudio should think the code needs to be rebuilt.  But lately, (since v. 6.1a) symptom (b) does not happen all that often, but I will still get this message pretty regularly.  More often than not, symptom (a) is the offending annoyance at this point in time.  &lt;BR /&gt; &lt;BR /&gt;d)  I hit "Build" the DevStudio goes off recompiling a whole lot of Modules that it seems like it probably does not need to.  I rely more on gut intuition here than anything else.  This is hard to diagnose since the USE dependencies are so complex in our code, and it may not be entirely obvious that one Module does in fact need to be compiled, because it USE's a module that USE's the actual module that was modified. &lt;BR /&gt; &lt;BR /&gt;I do not waste my time doing successive recompiles in an attempt to minimize such behavior.  While this may help in some instances, I have found it to be sufficiently sporadic that I would end up spending more time compiling my code than doing actual development.  So I just let CVF do its thing, hit the "No" button or "Build" button when I have to, and upgrade my hardware when necessary to in an attempt to speed up the compile stage, thus making these issues less of a time waster.  What a difference it made going from a 266 Mhz PII to a dual Pentium 850 Mhz PIII.  My productivity went up 20-fold. &lt;BR /&gt; &lt;BR /&gt;To answer Walter's question since no one else has explicitly done so - the dependency checker does check for circular references, at any level, so you need not worry about that.  If there is, the build stage will fail. &lt;BR /&gt; &lt;BR /&gt;Hope that helps contribute something to thread, &lt;BR /&gt;Chris</description>
      <pubDate>Sat, 20 Jan 2001 03:07:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/AAA-Recompiling-already-compiled-files/m-p/930729#M14736</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-01-20T03:07:06Z</dc:date>
    </item>
  </channel>
</rss>

