<?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: Previous declaration error in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879778#M74872</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;is it possible that this bug isn't yetfixed in 11.1.054?&lt;BR /&gt;&lt;BR /&gt;Many greetings&lt;BR /&gt;&lt;BR /&gt;Eberhard</description>
    <pubDate>Tue, 04 May 2010 09:44:59 GMT</pubDate>
    <dc:creator>muppets</dc:creator>
    <dc:date>2010-05-04T09:44:59Z</dc:date>
    <item>
      <title>Previous declaration error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879776#M74870</link>
      <description>I get the following compile time error:&lt;BR /&gt;&lt;BR /&gt;1&amp;gt;Compiling with Intel Visual Fortran 11.0.074 [IA-32]...&lt;BR /&gt;1&amp;gt;asbne.f90&lt;BR /&gt;1&amp;gt;D:\Documents and Settings\PAINSTEV\My Documents\Visual Studio 2005\Projects\mpr_apr3d\asbne.f90(2): error #5508: Declaration of routine 'IUSVUOAKNB' conflicts with a previous declaration&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I serch for the subroutine name I get only 2 references.&lt;BR /&gt;&lt;BR /&gt;Find all "IUSVUOAKNB", Subfolders, Keep modified files open, Find Results 1, "Entire Solution"&lt;BR /&gt;D:\Documents and Settings\PAINSTEV\My Documents\Visual Studio 2005\Projects\mpr_apr3d\asbne.f90(2):SUBROUTINE iusvuoaknb(inpStyle, debug, pauseflag)&lt;BR /&gt;D:\Documents and Settings\PAINSTEV\My Documents\Visual Studio 2005\Projects\mpr_apr3d\prmod3d.f(167): CALL iusvuoaknb(inpStyle, debug, pauseflag)&lt;BR /&gt;Matching lines: 2 Matching files: 2 Total files searched: 45&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have checked the arguments, they are the same in the calling routine and the subroutine.&lt;BR /&gt;&lt;BR /&gt;CHARACTER*10 inpStyle&lt;BR /&gt;LOGICAL debug&lt;BR /&gt;LOGICAL pauseflag&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I don't understand how I can have a previous declaration. I have been using this subroutine for over a year in this solution. As you can see from the strange name it has, I randomly changed the original name so it could not conflict with anything in my solution. This is one of two subroutines that is giving me this error message. I have been using the 2nd routine for over a year also.&lt;BR /&gt;&lt;BR /&gt;If I remove the file from the solution I get an unresolved external symbol when linking. If I add a few letter to just the subroutine name I get the same error:&lt;BR /&gt;&lt;BR /&gt;Compiling with Intel Visual Fortran 11.0.074 [IA-32]...&lt;BR /&gt;asbne.f90&lt;BR /&gt;D:\Documents and Settings\PAINSTEV\My Documents\Visual Studio 2005\Projects\mpr_apr3d\asbne.f90(1): error #5508: Declaration of routine 'IUSVUOAKNBXSGAGA' conflicts with a previous declaration&lt;BR /&gt;compilation aborted for D:\Documents and Settings\PAINSTEV\My Documents\Visual Studio 2005\Projects\mpr_apr3d\asbne.f90 (code 1)&lt;BR /&gt;&lt;BR /&gt;I don't think I have a previous declaration. Any ideas on what the real source of the error might be? I am using VS2005 with IVF11.</description>
      <pubDate>Mon, 15 Jun 2009 18:22:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879776#M74870</guid>
      <dc:creator>Stephen_Painchaud</dc:creator>
      <dc:date>2009-06-15T18:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Previous declaration error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879777#M74871</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
This is a bug in 11.0.074 (only). You can revert back to 11.0.072 or turn off "Check Routine Interfaces" under Fortran &amp;gt; Diagnostics.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jun 2009 18:52:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879777#M74871</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-06-15T18:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Previous declaration error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879778#M74872</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;is it possible that this bug isn't yetfixed in 11.1.054?&lt;BR /&gt;&lt;BR /&gt;Many greetings&lt;BR /&gt;&lt;BR /&gt;Eberhard</description>
      <pubDate>Tue, 04 May 2010 09:44:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879778#M74872</guid>
      <dc:creator>muppets</dc:creator>
      <dc:date>2010-05-04T09:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Previous declaration error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879779#M74873</link>
      <description>That bug is fixed in 11.1.054. If you have an example that shows this error message, please post or attach it so we can take a look.</description>
      <pubDate>Tue, 04 May 2010 13:45:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879779#M74873</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-05-04T13:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Previous declaration error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879780#M74874</link>
      <description>Dear Steve,&lt;BR /&gt;&lt;BR /&gt;please have a look at this program:&lt;BR /&gt;&lt;BR /&gt;program test&lt;BR /&gt;&lt;BR /&gt; implicit none&lt;BR /&gt; &lt;BR /&gt; double precision x, y, z&lt;BR /&gt; &lt;BR /&gt; x = 1d0&lt;BR /&gt; y = 2d0 * x&lt;BR /&gt; z = 2d0 * y&lt;BR /&gt; &lt;BR /&gt; call sub(x, y, z)&lt;BR /&gt; &lt;BR /&gt;end program test&lt;BR /&gt;&lt;BR /&gt;subroutine sub(a, b, c)&lt;BR /&gt;&lt;BR /&gt; implicit none&lt;BR /&gt; &lt;BR /&gt; double precision a, b&lt;BR /&gt; integer c&lt;BR /&gt; &lt;BR /&gt; a = b + c&lt;BR /&gt; &lt;BR /&gt;end subroutine &lt;BR /&gt;&lt;BR /&gt;You will receive the error message "error #6633: The type of the actual argument differs from the type of the dummy argument. &lt;Z&gt; O:\TWPr\bf11054\main.f90 11" . This is of course absolutely correct. &lt;BR /&gt;&lt;BR /&gt;You will correct:&lt;BR /&gt;&lt;BR /&gt;program test&lt;BR /&gt;&lt;BR /&gt; implicit none&lt;BR /&gt; &lt;BR /&gt; double precision x, y, z&lt;BR /&gt; &lt;BR /&gt; x = 1d0&lt;BR /&gt; y = 2d0 * x&lt;BR /&gt; z = 2d0 * y&lt;BR /&gt; &lt;BR /&gt; call sub(x, y, z)&lt;BR /&gt; &lt;BR /&gt;end program test&lt;BR /&gt;&lt;BR /&gt;subroutine sub(a, b, c)&lt;BR /&gt;&lt;BR /&gt; implicit none&lt;BR /&gt; &lt;BR /&gt; double precision a, b, c&lt;BR /&gt; &lt;BR /&gt; a = b + c&lt;BR /&gt; &lt;BR /&gt;end subroutine &lt;BR /&gt;&lt;BR /&gt;There should be no error message any more, but we receive:&lt;BR /&gt;"error #7001: Error in creating the compiled module file. [SUB__genmod] O:\TWPr\bf11054\main.f90 15"&lt;BR /&gt;&lt;BR /&gt;Switching off "Generate Interface Blocks" fixes the problem (after a restart of Visual Studio), but switching off this option also switches off interface checking unfortunately.&lt;BR /&gt;&lt;BR /&gt;Best regards &lt;BR /&gt;&lt;BR /&gt;Eberhard&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/Z&gt;</description>
      <pubDate>Wed, 05 May 2010 06:53:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879780#M74874</guid>
      <dc:creator>muppets</dc:creator>
      <dc:date>2010-05-05T06:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Previous declaration error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879781#M74875</link>
      <description>Well, this is a very different problem than the one this thread was started for. That said, I can't reproduce the problem with the current compiler (11.1.065, Update 6). The problem you have here seems to be one that is environment-related. I suggest deleting all of the __genmod.* files and trying again.</description>
      <pubDate>Wed, 05 May 2010 13:19:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879781#M74875</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-05-05T13:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Previous declaration error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879782#M74876</link>
      <description>Steve, you are totally right. &lt;BR /&gt;&lt;BR /&gt;Meanwhile I know a little bit more. The mentioned behaviour occurs only if the project is stored on a net drive of a novell network. Storing it locally or storing it on a net drive of a windows network it works fine.&lt;BR /&gt;&lt;BR /&gt;I will report.&lt;BR /&gt;&lt;BR /&gt;Thank you very much&lt;BR /&gt;&lt;BR /&gt;Eberhard</description>
      <pubDate>Fri, 07 May 2010 14:30:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Previous-declaration-error/m-p/879782#M74876</guid>
      <dc:creator>muppets</dc:creator>
      <dc:date>2010-05-07T14:30:40Z</dc:date>
    </item>
  </channel>
</rss>

