<?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 Preprocess included file in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780628#M27465</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;BR /&gt;
	Is it possible to preprocess included files ? By default, it seems to me that they are not.&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;BR /&gt;
	Regards,&lt;BR /&gt;
	&lt;BR /&gt;
	Gerald&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Mar 2012 16:18:31 GMT</pubDate>
    <dc:creator>Gerald_Duff</dc:creator>
    <dc:date>2012-03-30T16:18:31Z</dc:date>
    <item>
      <title>Preprocess included file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780628#M27465</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;BR /&gt;
	Is it possible to preprocess included files ? By default, it seems to me that they are not.&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;BR /&gt;
	Regards,&lt;BR /&gt;
	&lt;BR /&gt;
	Gerald&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2012 16:18:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780628#M27465</guid>
      <dc:creator>Gerald_Duff</dc:creator>
      <dc:date>2012-03-30T16:18:31Z</dc:date>
    </item>
    <item>
      <title>Preprocess included file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780629#M27466</link>
      <description>If you want include files preprocessed, use #include to include them.</description>
      <pubDate>Fri, 30 Mar 2012 16:46:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780629#M27466</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-03-30T16:46:30Z</dc:date>
    </item>
    <item>
      <title>Preprocess included file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780630#M27467</link>
      <description>I use #include "filename.inc" in my programs with FPP precompilation.&lt;BR /&gt;&lt;BR /&gt;Note....&lt;BR /&gt;&lt;BR /&gt;Your #include file may contain #define's for macros and macro substitution&lt;BR /&gt;&lt;BR /&gt;*** #include macros are "in scope" from the #include through the end of the compilation unit (or until explicitly #undef'd)&lt;BR /&gt;&lt;BR /&gt;The macros (if used) are not scoped to the subroutine/function as are the FORTRAN include files (no #)&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Mar 2012 19:49:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780630#M27467</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-03-30T19:49:46Z</dc:date>
    </item>
    <item>
      <title>Preprocess included file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780631#M27468</link>
      <description>Thanks for the prompt answer, this solves my issues. It also raises another question : to make "#include" work I had to add the absolute path to the included file in the pre-processor option, whereas "include" was directly looking into the source folder. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In which way the include directories are different between "#include" and "include" ? &lt;BR /&gt;&lt;BR /&gt; Regards</description>
      <pubDate>Mon, 02 Apr 2012 07:43:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780631#M27468</guid>
      <dc:creator>Gerald_Duff</dc:creator>
      <dc:date>2012-04-02T07:43:59Z</dc:date>
    </item>
    <item>
      <title>Preprocess included file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780632#M27469</link>
      <description>Gerald, this is a known bug, issue DPD200151471, not yet fixed. Please add the folder containing the include files as an "additional include directory" as a workaround.&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Apr 2012 14:20:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780632#M27469</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-04-02T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Preprocess included file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780633#M27470</link>
      <description>&amp;gt;&amp;gt;to make "#include" work I had to add the absolute path to the included file in the pre-processor option&lt;BR /&gt;&lt;BR /&gt;??? I am using relative paths ???&lt;BR /&gt;&lt;BR /&gt;Preprocsssor | Additional Include Directories&lt;BR /&gt;&lt;BR /&gt; ... (other include directories here&lt;BR /&gt; ..\..\Source\Modules&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The path is relative to the folder containing the project file&lt;BR /&gt;&lt;BR /&gt;In the .f90 files I then use&lt;BR /&gt;&lt;BR /&gt; #include "DEF_ALL.INC"&lt;BR /&gt;&lt;BR /&gt;Where the above is one of my FPP include files&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Mon, 02 Apr 2012 15:12:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780633#M27470</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-04-02T15:12:46Z</dc:date>
    </item>
    <item>
      <title>Preprocess included file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780634#M27471</link>
      <description>Thanks, this works indeed. However, it is annoying to have to add an additional include directory each time a file is included (especially when the included file is in the same folder than the source!). &lt;BR /&gt;&lt;BR /&gt; Regards, &lt;BR /&gt;&lt;BR /&gt;Gerald</description>
      <pubDate>Mon, 02 Apr 2012 17:12:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780634#M27471</guid>
      <dc:creator>Gerald_Duff</dc:creator>
      <dc:date>2012-04-02T17:12:47Z</dc:date>
    </item>
    <item>
      <title>Preprocess included file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780635#M27472</link>
      <description>This is a Visual Studio issue. If when creating a project you specify that you do not wish to make seperate folder for project (which is a misnomer since it means folder for "project source files" as opposed to "project file" then you likely will not need to specify the folder where your include files reside. Or conversely you can place your FPP include files in your project folder.&lt;BR /&gt;&lt;BR /&gt;The way I use FORTRAN is to isolate my module files in a seperate folder from the subroutines and functions that use the module. This folder is required to be placed in the include path. I place my FPP include files in this folder.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Mon, 02 Apr 2012 21:20:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780635#M27472</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-04-02T21:20:37Z</dc:date>
    </item>
    <item>
      <title>A fix has been found for this</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780636#M27473</link>
      <description>&lt;P&gt;A fix has been found for this issue. We are currently planning to include it in the next major release which is currently scheduled for later this year.&lt;/P&gt;
&lt;P&gt;Annalee&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2013 18:30:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Preprocess-included-file/m-p/780636#M27473</guid>
      <dc:creator>Anonymous66</dc:creator>
      <dc:date>2013-05-05T18:30:06Z</dc:date>
    </item>
  </channel>
</rss>

