<?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 Steve, in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058412#M116846</link>
    <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;I think your suggested wording for 6514 would make more sense.&amp;nbsp; As it reads, it assumes that the n:m notation only applies to CHARACTER variables, which I guess was true before array slices were permitted.&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2015 13:21:13 GMT</pubDate>
    <dc:creator>DavidWhite</dc:creator>
    <dc:date>2015-03-20T13:21:13Z</dc:date>
    <item>
      <title>Unhelpful error message array section assignment</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058410#M116844</link>
      <description>&lt;P&gt;I am attempting to assign an array section, e.g.&lt;/P&gt;
&lt;P&gt;X(1:N) = Y(1:N)&lt;/P&gt;
&lt;P&gt;In the situation that Y has not been declared, the compiler only seems to look at the RHS of the statement, and so assumes that Y is intended to be of CHARACTER type, failing to recognize that the notation also could be an array section.&amp;nbsp; Since the destination is an array section, then error message 6514 is misleading.&lt;/P&gt;
&lt;P&gt;Error&amp;nbsp;1&amp;nbsp; error #6404: This name does not have a type, and must have an explicit type.&amp;nbsp;&amp;nbsp; [UNDECLAREDVAR]&amp;nbsp;C:\Open\kwc54dw\Dev\Winyldmd\trunk\ymd_commands\Show_Stage.f90&amp;nbsp;107&amp;nbsp;&lt;BR /&gt;Error&amp;nbsp;2&amp;nbsp; error #6514: A substring must be of type CHARACTER.&amp;nbsp;&amp;nbsp; [UNDECLAREDVAR]&amp;nbsp;C:\Open\kwc54dw\Dev\Winyldmd\trunk\ymd_commands\Show_Stage.f90&amp;nbsp;107&amp;nbsp;&lt;BR /&gt;Error&amp;nbsp;3&amp;nbsp; error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.&amp;nbsp;&amp;nbsp; [UNDECLAREDVAR]&amp;nbsp;C:\Open\kwc54dw\Dev\Winyldmd\trunk\ymd_commands\Show_Stage.f90&amp;nbsp;107&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 00:48:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058410#M116844</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2015-03-20T00:48:54Z</dc:date>
    </item>
    <item>
      <title>Well, the language doesn't</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058411#M116845</link>
      <description>&lt;P&gt;Well, the language doesn't make any connection between the left and right side of an assignment, and neither does the compiler. Generally, if something is not declared to be an array the compiler assumes it isn't one. But maybe error 6514 could be reworded to be something like "Substring or array slice notation for variable not declared as CHARACTER or array"?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 01:00:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058411#M116845</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-03-20T01:00:51Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058412#M116846</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;I think your suggested wording for 6514 would make more sense.&amp;nbsp; As it reads, it assumes that the n:m notation only applies to CHARACTER variables, which I guess was true before array slices were permitted.&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 13:21:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058412#M116846</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2015-03-20T13:21:13Z</dc:date>
    </item>
    <item>
      <title>Escalated as issue ID</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058413#M116847</link>
      <description>&lt;P&gt;Escalated as issue ID&amp;nbsp;DPD200368064.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 18:09:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058413#M116847</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-03-20T18:09:57Z</dc:date>
    </item>
    <item>
      <title>Fixed for a future major</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058414#M116848</link>
      <description>&lt;P&gt;Fixed for a future major release.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 21:52:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Unhelpful-error-message-array-section-assignment/m-p/1058414#M116848</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-11-04T21:52:36Z</dc:date>
    </item>
  </channel>
</rss>

