<?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 Yes, I intend to look at all in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924220#M86133</link>
    <description>&lt;P&gt;Yes, I intend to look at all of these.&amp;nbsp; There are lots and lots of new API routines we are missing. Adding these is not trivial but we're doing what we can.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2013 17:48:02 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2013-01-28T17:48:02Z</dc:date>
    <item>
      <title>Fortran Pre-procesor Query &amp; Feature request</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924215#M86128</link>
      <description>&lt;P&gt;I need to be able to call the SetClassLongPtr but there is currently no interface for this&amp;nbsp;in the supplied windows modules. I created one myself based upon the definition for SetWindowWord in user32.f90 and it works fine as echoed below.&lt;/P&gt;
&lt;P&gt;INTERFACE &lt;BR /&gt; FUNCTION SetClassLongPtr( hWnd, nIndex, dwNewLong)&lt;BR /&gt; use ifwinty&lt;BR /&gt; integer(LONG_PTR) :: SetClassLongPtr ! LONG_PTR&lt;BR /&gt;!DEC$ IF DEFINED(_M_IA64) .OR. DEFINED(_M_AMD64) .OR. DEFINED(__x86_64__)&lt;BR /&gt; !DEC$ ATTRIBUTES DEFAULT, STDCALL, DECORATE, ALIAS:'SetClassLongPtrA' :: SetClassLongPtr&lt;BR /&gt;!DEC$ ELSE&lt;BR /&gt; !DEC$ ATTRIBUTES DEFAULT, STDCALL, DECORATE, ALIAS:'SetClassLongA' :: SetClassLongPtr&lt;BR /&gt;!DEC$ ENDIF&lt;BR /&gt; integer(HANDLE) hWnd ! HWND hWnd&lt;BR /&gt; integer(SINT) nIndex ! int nIndex&lt;BR /&gt; integer(LONG_PTR) dwNewLong ! LONG dwNewLong&lt;BR /&gt; END FUNCTION&lt;BR /&gt;END INTERFACE&lt;/P&gt;
&lt;P&gt;However in one project I had the somehow set the preprocessor properties option to Yes (/fpp) instead of No and then the compiler started to complain &amp;nbsp;that the preprocssor statement was getting an integer value instead of the expected charactor type. Is this expected behavior as the documentation is not &amp;nbsp;very explicit?&lt;/P&gt;
&lt;P&gt;Feature request: &amp;nbsp;Could SetWindowLongPtr interface be added to the official user32.f90?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 13:25:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924215#M86128</guid>
      <dc:creator>dannycat</dc:creator>
      <dc:date>2013-01-25T13:25:55Z</dc:date>
    </item>
    <item>
      <title>It's a shame that !DEC$ ALIAS</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924216#M86129</link>
      <description>&lt;P&gt;It's a shame that !DEC$ ALIAS seems to require a &amp;lt;i&amp;gt;character-literal&amp;lt;/i&amp;gt; rather than a &amp;lt;i&amp;gt;character-initialization-expression&amp;lt;/i&amp;gt; which would permit the user to do away with the !DEC$ IF DEFINED stuff that seems to be causing the problems in the first place.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 14:58:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924216#M86129</guid>
      <dc:creator>JVanB</dc:creator>
      <dc:date>2013-01-25T14:58:00Z</dc:date>
    </item>
    <item>
      <title>I will see what I can do</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924217#M86130</link>
      <description>&lt;P&gt;I will see what I can do about getting the interface added.&lt;/P&gt;
&lt;P&gt;Please provide more details on the preprocessor issue. If you'd attach a zip of a test case and sample output that would be helpful.&lt;/P&gt;
&lt;P&gt;RO, I don't think that would be helpful here. &lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 17:40:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924217#M86130</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-01-25T17:40:54Z</dc:date>
    </item>
    <item>
      <title>INTERFACE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924218#M86131</link>
      <description>&lt;P&gt;[fortran]INTERFACE &lt;BR /&gt;&amp;nbsp;&amp;nbsp; FUNCTION SetClassLongPtr( hWnd, nIndex, dwNewLong)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use ifwinty&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer(LONG_PTR) :: SetClassLongPtr ! LONG_PTR&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer, parameter :: nbits = bit_size(0_HANDLE)&lt;BR /&gt;! No preprocessor used so there should be no preprocessor errors.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; character(*), parameter :: WinFunName = 'SetClassLong'//trim(merge('PtrA','A&amp;nbsp;&amp;nbsp; ',nbits==64))&lt;BR /&gt;!DEC$ ATTRIBUTES DEFAULT, STDCALL, DECORATE, ALIAS: WinFunName :: SetClassLongPtr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer(HANDLE) hWnd ! HWND hWnd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer(SINT) nIndex ! int nIndex&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer(LONG_PTR) dwNewLong ! LONG dwNewLong&lt;BR /&gt;&amp;nbsp;&amp;nbsp; END FUNCTION&lt;BR /&gt;END INTERFACE[/fortran]&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 23:06:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924218#M86131</guid>
      <dc:creator>JVanB</dc:creator>
      <dc:date>2013-01-25T23:06:21Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924219#M86132</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;The corresponding GetClassLong/GetClassLongPtr function is not defined in user32.f90 either so if you are able to get the SetClassLongPtr interface introduced perhaps it makes sense to add both together.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:11:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924219#M86132</guid>
      <dc:creator>dannycat</dc:creator>
      <dc:date>2013-01-28T09:11:01Z</dc:date>
    </item>
    <item>
      <title>Yes, I intend to look at all</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924220#M86133</link>
      <description>&lt;P&gt;Yes, I intend to look at all of these.&amp;nbsp; There are lots and lots of new API routines we are missing. Adding these is not trivial but we're doing what we can.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 17:48:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924220#M86133</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-01-28T17:48:02Z</dc:date>
    </item>
    <item>
      <title>Thanks Steve, I understand</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924221#M86134</link>
      <description>&lt;P&gt;Thanks Steve, I understand that any mods require a lot of testing and validation work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 08:23:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924221#M86134</guid>
      <dc:creator>dannycat</dc:creator>
      <dc:date>2013-01-29T08:23:36Z</dc:date>
    </item>
    <item>
      <title>The testing and validation is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924222#M86135</link>
      <description>&lt;P&gt;The testing and validation is work, to be sure, but discovering which APIs are new or changed, and building the Fortran equivalents, that's the most time-consuming. We've tried automated tools but they only get us so far.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 17:24:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Pre-procesor-Query-Feature-request/m-p/924222#M86135</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-01-29T17:24:03Z</dc:date>
    </item>
  </channel>
</rss>

