<?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 default initialization for derived types in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/default-initialization-for-derived-types/m-p/798810#M36643</link>
    <description>Is default initialization in base types supposed to work with derived types in the current compiler? I'm getting weird error messages:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[fortran]program C3
    type :: t
        integer :: x=0, y=1        
    end type t   
    
    type, extends(t) :: t1
        integer :: z
    end type t1
    
    type(t)  :: v0 = t(y=1) !ok, default initializer for x
    type(t1) :: v1 = t1(x=0, y=1, z=5) !ok, explicit
    type(t1) :: v2 = t1(t=t(x=1, y=2), z=5) !ok, explicit base    
    type(t1) :: v3 = t1(z=3) ! error #8212: Omitted field is not initialized. Field initialization missing:   &lt;Z&gt;
end program C3[/fortran]&lt;/Z&gt;&lt;/PRE&gt; Note the error message refers to &lt;Z&gt; not those defined in type(t).&lt;/Z&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 15 Jun 2010 08:02:25 GMT</pubDate>
    <dc:creator>joseph_battelle</dc:creator>
    <dc:date>2010-06-15T08:02:25Z</dc:date>
    <item>
      <title>default initialization for derived types</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/default-initialization-for-derived-types/m-p/798810#M36643</link>
      <description>Is default initialization in base types supposed to work with derived types in the current compiler? I'm getting weird error messages:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[fortran]program C3
    type :: t
        integer :: x=0, y=1        
    end type t   
    
    type, extends(t) :: t1
        integer :: z
    end type t1
    
    type(t)  :: v0 = t(y=1) !ok, default initializer for x
    type(t1) :: v1 = t1(x=0, y=1, z=5) !ok, explicit
    type(t1) :: v2 = t1(t=t(x=1, y=2), z=5) !ok, explicit base    
    type(t1) :: v3 = t1(z=3) ! error #8212: Omitted field is not initialized. Field initialization missing:   &lt;Z&gt;
end program C3[/fortran]&lt;/Z&gt;&lt;/PRE&gt; Note the error message refers to &lt;Z&gt; not those defined in type(t).&lt;/Z&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Jun 2010 08:02:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/default-initialization-for-derived-types/m-p/798810#M36643</guid>
      <dc:creator>joseph_battelle</dc:creator>
      <dc:date>2010-06-15T08:02:25Z</dc:date>
    </item>
    <item>
      <title>default initialization for derived types</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/default-initialization-for-derived-types/m-p/798811#M36644</link>
      <description>Interesting. I know we had some issues with default initialization before, but this is a new one. I'll report it (DPD200156822). Thanks.</description>
      <pubDate>Tue, 15 Jun 2010 14:19:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/default-initialization-for-derived-types/m-p/798811#M36644</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-06-15T14:19:29Z</dc:date>
    </item>
    <item>
      <title>default initialization for derived types</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/default-initialization-for-derived-types/m-p/798812#M36645</link>
      <description>I expect this issue to be fixed in our November release.</description>
      <pubDate>Mon, 27 Sep 2010 19:50:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/default-initialization-for-derived-types/m-p/798812#M36645</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-09-27T19:50:21Z</dc:date>
    </item>
  </channel>
</rss>

