<?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 Re: Cannot use macro in include '***.***' in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Cannot-use-macro-in-include/m-p/949721#M19213</link>
    <description>Ah.  You must use #include, not INCLUDE, for this.  You need the macros to be seen by fpp, the preprocessor, and it will process only #include directives.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Wed, 02 May 2001 08:18:55 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2001-05-02T08:18:55Z</dc:date>
    <item>
      <title>Cannot use macro in include '***.***'</title>
      <link>https://community.intel.com/t5/Software-Archive/Cannot-use-macro-in-include/m-p/949719#M19211</link>
      <description>I needs to use macro to redirect formatted write() to a all. It's OK when I put macro directly on the top of my source code.   Because these large amount of macro need to be appeared in every file of my project, so I am trying to use &lt;INCLUDE&gt; comma in my source file to make it simple. Now the problem happens when the source code is complied. &lt;BR /&gt; &lt;BR /&gt;In the source code, I have a sentence: &lt;BR /&gt;&lt;INCLUDE&gt; &lt;BR /&gt; &lt;BR /&gt;the contents in zzz.for are like: &lt;BR /&gt;&lt;FONT size="+1"&gt; &lt;PRE&gt; 
#define WriteWinNF1(v1) if(nout.eq.nscr) then;WriteWinF1(v1);else;write(nout,*) v1;endif 
#define WriteWinNF2(v1,v2) if(nout.eq.nscr) then;WriteWinF2(v1,v2);else;write(nout,*) v1,v2;endif 
#define WriteWinNF3(v1,v2,v3) if(nout.eq.nscr) then;WriteWinF3(v1,v2,v3);else;write(nout,*) v1,v2,v3;endif 
#define WriteWinNF4(v1,v2,v3,v4) if(nout.eq.nscr) then;WriteWinF4(v1,v2,v3,v4);else;write(nout,*) v1,v2,v3,v4;endif 
#define WriteWinNF6(v1,v2,v3,v4,v5,v6) if(nout.eq.nscr) then;WriteWinF6(v1,v2,v3,v4,v5,v6);else;write(nout,*) v1,v2,v3,v4,v5,v6;endif 
&lt;/PRE&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;There is no problem when the zzz.for is complied independently. But the original source &lt;INCLUDE&gt; has problem when been compiled. &lt;BR /&gt; &lt;BR /&gt;Can some body provide some ideas? &lt;BR /&gt;Thank you in advance. &lt;BR /&gt;Jack&lt;/INCLUDE&gt;&lt;/INCLUDE&gt;&lt;/INCLUDE&gt;</description>
      <pubDate>Wed, 02 May 2001 01:54:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cannot-use-macro-in-include/m-p/949719#M19211</guid>
      <dc:creator>Deleted_U_Intel</dc:creator>
      <dc:date>2001-05-02T01:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use macro in include '***.***'</title>
      <link>https://community.intel.com/t5/Software-Archive/Cannot-use-macro-in-include/m-p/949720#M19212</link>
      <description>See if &lt;A href="http://www.compaq.com/fortran/kb/q1003.html"&gt;this Knowledge Base article&lt;/A&gt; helps.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 02 May 2001 03:04:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cannot-use-macro-in-include/m-p/949720#M19212</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-02T03:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use macro in include '***.***'</title>
      <link>https://community.intel.com/t5/Software-Archive/Cannot-use-macro-in-include/m-p/949721#M19213</link>
      <description>Ah.  You must use #include, not INCLUDE, for this.  You need the macros to be seen by fpp, the preprocessor, and it will process only #include directives.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 02 May 2001 08:18:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cannot-use-macro-in-include/m-p/949721#M19213</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-02T08:18:55Z</dc:date>
    </item>
  </channel>
</rss>

