<?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 error #5082: Syntax error, found '::' when expecting one of: ( in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-when-expecting-one-of/m-p/1097301#M125832</link>
    <description>&lt;P&gt;I have a fortran program which contains several subroutines in seperate .for files. Right now I tried to transfer the fortran program into a dynamic link library.&lt;/P&gt;

&lt;P&gt;I created a new dll, and define which subroutines can be called by external program. For one of the subroutines, when I add the sentence "!dec$ attributes dllexport::crsd04", and compile it, it showed the error "error #5082: Syntax error, found '::' when expecting one of: (" and " &amp;nbsp; &amp;nbsp;Compilation&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;Aborted (code 1)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;The beginning of the program is as followed. In the following codes, there are "if..end if", "continue" and most are calculations. Thank you.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; subroutine crsd04(crskianrow0,crskianrow1,crsfae,crsrodf,crsxe135,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crssm149,crsrouc,crskiazoneij,crskcoeff,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crskcoeff1,crskcoeff2,crskrasig12,crskrasiga1,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crskrasiga2,crsdiff1,crsdiff2,crsnusigf1,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsnusigf2,crssig12,crssiga1,crssiga2,crstf,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crskraxesiga1,crskraxesiga2,crskrasmsiga1,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crskrasmsiga2)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;!dec$ attributes dllexport::crsd04&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;implicit none&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;integer*4 :: crskiny=13&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;integer*4 :: crskinz=11&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; integer*4 :: i,j,k&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13) :: crskianrow0&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13) :: crskianrow1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;real*8,DIMENSION(13,13,11) :: crsfae,crsrodf,crsxe135,crssm149&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;real*8,DIMENSION(13,13,11) :: crsrouc&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; integer*4,DIMENSION(13,13,11) :: crskiazoneij&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(9,7,3) :: crskcoeff&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(3,2,3) :: crskcoeff1,crskcoeff2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crskrasig12&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crstf&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crsdiff1,crsdiff2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crsnusigf1,crsnusigf2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crssig12,crsnusigf21,crskrasiga2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crssiga1,crssiga2,crskrasiga1&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2017 21:34:56 GMT</pubDate>
    <dc:creator>lin_s_</dc:creator>
    <dc:date>2017-05-03T21:34:56Z</dc:date>
    <item>
      <title>error #5082: Syntax error, found '::' when expecting one of: (</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-when-expecting-one-of/m-p/1097301#M125832</link>
      <description>&lt;P&gt;I have a fortran program which contains several subroutines in seperate .for files. Right now I tried to transfer the fortran program into a dynamic link library.&lt;/P&gt;

&lt;P&gt;I created a new dll, and define which subroutines can be called by external program. For one of the subroutines, when I add the sentence "!dec$ attributes dllexport::crsd04", and compile it, it showed the error "error #5082: Syntax error, found '::' when expecting one of: (" and " &amp;nbsp; &amp;nbsp;Compilation&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;Aborted (code 1)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;The beginning of the program is as followed. In the following codes, there are "if..end if", "continue" and most are calculations. Thank you.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; subroutine crsd04(crskianrow0,crskianrow1,crsfae,crsrodf,crsxe135,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crssm149,crsrouc,crskiazoneij,crskcoeff,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crskcoeff1,crskcoeff2,crskrasig12,crskrasiga1,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crskrasiga2,crsdiff1,crsdiff2,crsnusigf1,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crsnusigf2,crssig12,crssiga1,crssiga2,crstf,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crskraxesiga1,crskraxesiga2,crskrasmsiga1,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crskrasmsiga2)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp;!dec$ attributes dllexport::crsd04&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;implicit none&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;integer*4 :: crskiny=13&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;integer*4 :: crskinz=11&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; integer*4 :: i,j,k&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13) :: crskianrow0&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13) :: crskianrow1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;real*8,DIMENSION(13,13,11) :: crsfae,crsrodf,crsxe135,crssm149&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;real*8,DIMENSION(13,13,11) :: crsrouc&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; integer*4,DIMENSION(13,13,11) :: crskiazoneij&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(9,7,3) :: crskcoeff&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(3,2,3) :: crskcoeff1,crskcoeff2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crskrasig12&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crstf&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crsdiff1,crsdiff2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crsnusigf1,crsnusigf2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crssig12,crsnusigf21,crskrasiga2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8,DIMENSION(13,13,11) :: crssiga1,crssiga2,crskrasiga1&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 21:34:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-when-expecting-one-of/m-p/1097301#M125832</guid>
      <dc:creator>lin_s_</dc:creator>
      <dc:date>2017-05-03T21:34:56Z</dc:date>
    </item>
    <item>
      <title>Start the !DEC$ in column 1</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-when-expecting-one-of/m-p/1097302#M125833</link>
      <description>&lt;P&gt;Start the !DEC$ in column 1 (or 7). You have the ! in column 6 which makes it a continuation.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 23:26:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-when-expecting-one-of/m-p/1097302#M125833</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2017-05-03T23:26:12Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Ret.)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-when-expecting-one-of/m-p/1097303#M125834</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Ret.) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Start the !DEC$ in column 1 (or 7). You have the ! in column 6 which makes it a continuation.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you Steve, it works right now!&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 00:27:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-when-expecting-one-of/m-p/1097303#M125834</guid>
      <dc:creator>lin_s_</dc:creator>
      <dc:date>2017-05-04T00:27:50Z</dc:date>
    </item>
  </channel>
</rss>

