<?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 why won't this compile? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814252#M44481</link>
    <description>All I am asking is that it ALERTS us if we try to use an intrinsic function ( in the editor), by using a color code,&lt;BR /&gt;in the same way that it does for certain KEY WORDS, like DO or IF. If we use those by accident, we can get all kinds of weird errors that are hard to track down.&lt;BR /&gt;&lt;BR /&gt;Sure, one can crack a book as you put it, but that's sometimes rather inconvenient.&lt;BR /&gt;&lt;BR /&gt;Is that gfortran accesable to all of us? I like it when they are more explicit.</description>
    <pubDate>Sun, 27 May 2012 15:45:08 GMT</pubDate>
    <dc:creator>WSinc</dc:creator>
    <dc:date>2012-05-27T15:45:08Z</dc:date>
    <item>
      <title>why won't this compile?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814246#M44475</link>
      <description>it teels me the arguments are not compatible, but I don't see why.&lt;BR /&gt;&lt;BR /&gt;When I make the function into a subroutine &lt;BR /&gt;there are NO error messages.&lt;BR /&gt;&lt;BR /&gt;Is this a compiler bug?</description>
      <pubDate>Sat, 26 May 2012 20:29:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814246#M44475</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2012-05-26T20:29:14Z</dc:date>
    </item>
    <item>
      <title>why won't this compile?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814247#M44476</link>
      <description>The compiler reads the source code that you give it and the messages it gives, if any, correspond to that source code. It does not matter what that source code was formerly, since the compiler sees only the present version.&lt;BR /&gt;&lt;BR /&gt;Perhaps your problem is caused by your use of COUNT as a function name, given that COUNT is an intrinsic function. When you change your function COUNT to a subroutine, the intrinsic function is used where there is a function reference, and the subroutine is not called. &lt;BR /&gt;&lt;BR /&gt;The program will probably give incorrect results if the intrinsic COUNT does not do the same thing as your function COUNT. The compiler may not be able to catch such errors.&lt;BR /&gt;</description>
      <pubDate>Sat, 26 May 2012 20:35:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814247#M44476</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-05-26T20:35:45Z</dc:date>
    </item>
    <item>
      <title>why won't this compile?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814248#M44477</link>
      <description>OK, but why doesn't the source editor ALERT me when I am trying to use an intririnsic function?&lt;BR /&gt;&lt;BR /&gt;Also, if I am using it in a non-standard way, shouldn't it tell me that?&lt;BR /&gt;&lt;BR /&gt;I can easily change the name of the function of course.</description>
      <pubDate>Sat, 26 May 2012 23:38:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814248#M44477</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2012-05-26T23:38:50Z</dc:date>
    </item>
    <item>
      <title>why won't this compile?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814249#M44478</link>
      <description>If you think the compiler or editor should relieve you of the responsibility of cracking a book, you could at least check what another compiler tells you:&lt;BR /&gt;$ gfortran test11.f90&lt;BR /&gt;test11.f90:3.13:&lt;BR /&gt;&lt;BR /&gt; bc = count(b)&lt;BR /&gt; 1&lt;BR /&gt;Error: 'mask' argument of 'count' intrinsic at (1) must be a logical array&lt;BR /&gt;&lt;BR /&gt;Then, if you think the ifort message is too cryptic and you could have learned enough from the gfortran comment without studying EXTERNAL and/or explicit interfaces, you could file a feature request on your premier.intel.com account.&lt;BR /&gt;&lt;BR /&gt;If you're asking for syntax checking in the GUI while entering your program, you really ought to study the conclusions others may have reached on that idea. How many people still use Turbo Pascal?&lt;BR /&gt;</description>
      <pubDate>Sun, 27 May 2012 10:52:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814249#M44478</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-05-27T10:52:34Z</dc:date>
    </item>
    <item>
      <title>why won't this compile?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814250#M44479</link>
      <description>To put it crudely, if the Intel compiler attempted to be a nanny, most professional users would object loudly. There is nothing "nonstandard" about your program, nor does the Fortran standard prohibit you from shooting yourself in the foot.&lt;BR /&gt;&lt;BR /&gt;Current versions of Fortran have so many intrinsic functions and keywords that few people can be expected to remember them all. That is why the keywords, unlike in some other languages, are not reserved. There are almost no restrictions in Fortran on your preempting keywords and intrinsic functions with entities of the same names in user namespace. For example, you can have&lt;BR /&gt;&lt;BR /&gt; REAL :: integer&lt;BR /&gt; INTEGER :: real&lt;BR /&gt; LOGICAL :: TRUE = .false.&lt;BR /&gt;&lt;BR /&gt;and so forth, if you insist. &lt;BR /&gt;&lt;BR /&gt;The programmer has quite a bit of freedom, and the responsibility to exercise that freedom judiciously.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 May 2012 13:52:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814250#M44479</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-05-27T13:52:59Z</dc:date>
    </item>
    <item>
      <title>why won't this compile?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814251#M44480</link>
      <description>Your program probably would have compiled had it been in a Module or if you had declared an External for Count.&lt;BR /&gt;</description>
      <pubDate>Sun, 27 May 2012 14:45:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814251#M44480</guid>
      <dc:creator>lklawrie</dc:creator>
      <dc:date>2012-05-27T14:45:06Z</dc:date>
    </item>
    <item>
      <title>why won't this compile?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814252#M44481</link>
      <description>All I am asking is that it ALERTS us if we try to use an intrinsic function ( in the editor), by using a color code,&lt;BR /&gt;in the same way that it does for certain KEY WORDS, like DO or IF. If we use those by accident, we can get all kinds of weird errors that are hard to track down.&lt;BR /&gt;&lt;BR /&gt;Sure, one can crack a book as you put it, but that's sometimes rather inconvenient.&lt;BR /&gt;&lt;BR /&gt;Is that gfortran accesable to all of us? I like it when they are more explicit.</description>
      <pubDate>Sun, 27 May 2012 15:45:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814252#M44481</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2012-05-27T15:45:08Z</dc:date>
    </item>
    <item>
      <title>why won't this compile?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814253#M44482</link>
      <description>When making compiler comparisons with Windows gfortran, I use one of the compilers on the cygwin.com setup menu; either the 32-bit cygwin compiler or the 64-bit mingw.</description>
      <pubDate>Sun, 27 May 2012 16:04:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/why-won-t-this-compile/m-p/814253#M44482</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-05-27T16:04:16Z</dc:date>
    </item>
  </channel>
</rss>

