<?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: Error: BIND(C) attribute at (1) can only be used for variables or common blocks in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230500#M152831</link>
    <description>&lt;P&gt;An ongoing issue with gfortran is that there are at most 2 or 3 developers working on it., and they are swamped. A couple of major contributors called it quits in the past year, and pleas for people to step up and work on it (just offering money is not enough) have gone unheeded. (It's not something one can just pick up casually.) Meanwhile there is a competing open-source Fortran compiler project, variously called flang or f18, that is getting all the attention and funding from various interests. (An initial version of this was based on the PGI Fortran front-end, but that has been abandoned for good reason.)&lt;/P&gt;&lt;P&gt;My expectation is that gfortran will eventually become abandonware, as g95 has.&lt;/P&gt;</description>
    <pubDate>Sat, 21 Nov 2020 17:59:15 GMT</pubDate>
    <dc:creator>Steve_Lionel</dc:creator>
    <dc:date>2020-11-21T17:59:15Z</dc:date>
    <item>
      <title>Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230185#M152786</link>
      <description>&lt;P&gt;I have been testing building "large" program in gfortran. The project is one I routinely work on in ifort. It has thrown up one or two interesting standards issues but that is by the bye. I am getting this error tagged on a submodule statement. I have tried various things but it has me baffled. Any ideas anyone? The submodule does contain a BIND(C) routine among other things.&lt;/P&gt;&lt;P&gt;C:\test&amp;gt;gfortran -c bpatn_SUBS.f90&lt;BR /&gt;bpatn_SUBS.f90:3:15:&lt;/P&gt;&lt;P&gt;3 | submodule (patn) patn_SUBS&lt;BR /&gt;Error: BIND(C) attribute at (1) can only be used for variables or common blocks&lt;/P&gt;&lt;P&gt;The 1 is under the n in (patn).&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 09:14:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230185#M152786</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-20T09:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230190#M152787</link>
      <description>&lt;P&gt;Without seeing the code,&amp;nbsp; I would say the error message is wrongly placed or wrongly formulated. Is the BIND(C) routine private to the submodule or is it public? And does the declaration in the main module have the BIND(C) attribute as well? Mostly thinking out loud here, I am afraid.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 09:22:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230190#M152787</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2020-11-20T09:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230195#M152788</link>
      <description>&lt;P&gt;Thanks for the Reply Argen. The binc(c) is public and the declarations match. Those would both have thrown errors in Ifort. The thought about misplaced message is an interesting one because the error is on the first non-comment line of code. Does gfortran have history on that? I am a fortranner back to the early 80s but a gfortran newbie. My my next step is to take copies and remove things step by step to see if the error goes away at some step.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 09:39:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230195#M152788</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-20T09:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230200#M152789</link>
      <description>&lt;P&gt;I can have a look with gfortran - one caveat: thsi morning, I had to circumvent a different problem with submodules in gfortran myself :).&amp;nbsp; You have some code I could try on it? (gfortran 10)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 09:46:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230200#M152789</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2020-11-20T09:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230214#M152790</link>
      <description>&lt;P&gt;It seems to be I cannot have a routine with bind(c,name=...) in a submodule with gfortran? I attached a small reproducer.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 10:54:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230214#M152790</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-20T10:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230222#M152792</link>
      <description>&lt;P&gt;I just tried the small sample code with Intel Fortran 18.0 and gfortran 10.2 and both accept the code with no error messages whatsoever (for gfortran I had to create a dummy ifwin module, but that was all). I don't have a newer version of Intel Fortran installed here.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 11:04:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230222#M152792</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2020-11-20T11:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230224#M152794</link>
      <description>&lt;P&gt;OK I will try a later gfortan binary I was using&amp;nbsp;GNU Fortran (MinGW.org GCC Build-2) 9.2.0&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 11:10:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230224#M152794</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-20T11:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230225#M152795</link>
      <description>&lt;P&gt;Is i now not possible to edit a post? also the source markup tags for Fortran and plain text seem to have fallen off.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway a can't find and gfortran 10.xxxxx for windows any clues on location?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 11:18:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230225#M152795</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-20T11:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230231#M152798</link>
      <description>&lt;P&gt;I have it installed under Cygwin and MinGW-w64/MSYS2, though for the latter I needed a completely new installation.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 11:41:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230231#M152798</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2020-11-20T11:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230232#M152799</link>
      <description>&lt;P&gt;Thanks for the help Arjen, I think for now I will put this project on hold for a while and take stock of matters.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 11:49:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230232#M152799</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-20T11:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230246#M152800</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;the error is on the first non-comment line of code.&lt;/P&gt;&lt;P&gt;Try a discovery...&lt;/P&gt;&lt;P&gt;Insert, as a first non-comment line of code:&lt;/P&gt;&lt;P&gt;subroutine WillThisErrorOut()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; print *, "no"&lt;BR /&gt;end subroutine WillThisErrorOut&lt;/P&gt;&lt;P&gt;Then see if the error message occurs on the first non-comment line of code, or on the former first non-comment line of code.&lt;/P&gt;&lt;P&gt;If the error occurs on the new subroutine, then delete all that follow the new subroutine (keep a copy first).&lt;/P&gt;&lt;P&gt;Then, if the problem goes away, there is something funny in the ?comments? preceding the code.&lt;/P&gt;&lt;P&gt;If the problem exists, delete all the former code (leaving just the subroutine WillThisErrorOut)&lt;/P&gt;&lt;P&gt;If the problem exists, there may be something wrong with the build.&lt;/P&gt;&lt;P&gt;If the problem goes away, Hmmm???, does the build succeed with the original code by placing a "!" comment in front of BIND? (ignore the runtime issue of wrong interface, we are checking the compile error).&lt;/P&gt;&lt;P&gt;Note, your command line arguments indicate you are compiling using fixed form (132 character lines). Maybe you have non-conforming code that is throwing this error (by mistake).&lt;/P&gt;&lt;P&gt;Also, is the affected subroutine a CONTAINS procedure?&lt;/P&gt;&lt;P&gt;This would imply it is not the first line of code, other than via an INCLUDE elsewhere.&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 13:42:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230246#M152800</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-11-20T13:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230251#M152801</link>
      <description>&lt;P&gt;The problem is the gfortran version will not accept module procedures with bind(c) within a submodule but the error flags the submodule not the procedure. As Arjen suggests the later (devt?) version works it would seem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 14:02:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230251#M152801</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-20T14:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230253#M152803</link>
      <description>&lt;P&gt;Andrew, for use with gFortran 9.3 (Cygwin Win10 x64), I created a fake ifwin.f90 with the content&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MODULE IFWIN
   integer, parameter :: POINTER_LEN = 8
   integer, parameter :: INT_PTR  = POINTER_LEN
   integer, parameter :: HANDLE = 8
   integer, parameter :: UINT   = 4
   integer, parameter :: UINT_PTR = POINTER_LEN
   integer, parameter :: LONG_PTR = POINTER_LEN
   integer, parameter :: fLPARAM  = LONG_PTR
   integer, parameter :: fWPARAM  = UINT_PTR
END MODULE&lt;/LI-CODE&gt;&lt;P&gt;and compiled with the command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gfortran -c mywinty.f90 bpatn_IF.f90 bpatn_SUBS.f90&lt;/LI-CODE&gt;&lt;P&gt;The compilation did not cause any messages to be issued. HTH&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 14:08:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230253#M152803</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-11-20T14:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230279#M152807</link>
      <description>&lt;P&gt;Thanks for that. It would have been kinder if I had removed the Kinds.&amp;nbsp; Thanks for that, it seems it is just a bug in the version I am running. I am not familiar with Cygwin that is a linux like environment for windows I think yes? would I be able to get a binary from somewhere for the compiler that I can run in a Windows command prompt? I had a look around but failed so far.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 16:37:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230279#M152807</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-20T16:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230283#M152808</link>
      <description>&lt;LI-CODE lang="python"&gt;OK I will try a later gfortan binary I was using GNU Fortran (MinGW.org GCC Build-2) 9.2.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/66560"&gt;@andrew_4619&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm curious: can you try this simple case with your version of gfortran and see if it compiles without errors.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;module m
   interface
      module subroutine sub() bind(C, name="sub")
      end subroutine
   end interface
end module

submodule(m) sm
contains
   module subroutine sub() bind(C, name="sub")
   end subroutine
end submodule&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 20 Nov 2020 17:06:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230283#M152808</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2020-11-20T17:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230286#M152810</link>
      <description>&lt;P&gt;&lt;A href="http://cygwin.com" target="_self"&gt;Cygwin and Cygwin64&lt;/A&gt; is a nice Linux-like environment that runs inside Windows. However, it is probably overkill to install it (1 to 2 GB) just to obtain gFortran. You can obtain various versions of Mingw GCC from a number of sites, including &lt;A href="http://www.equation.com/servlet/equation.cmd?fa=fortran" target="_self"&gt;equation.com&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 17:28:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230286#M152810</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-11-20T17:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230390#M152819</link>
      <description>&lt;P&gt;8 | submodule(m) sm&lt;BR /&gt;| 1&lt;BR /&gt;Error: BIND(C) attribute at (1) can only be used for variables or common blocks&lt;/P&gt;&lt;P&gt;To the small reproducer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 22:37:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230390#M152819</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-20T22:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230436#M152822</link>
      <description>&lt;LI-CODE lang="python"&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/66560"&gt;@andrew_4619&lt;/a&gt; wrote:

8 | submodule(m) sm
| 1
Error: BIND(C) attribute at (1) can only be used for variables or common blocks

To the small reproducer. &lt;/LI-CODE&gt;&lt;P&gt;That suggests to me the version of gfortran you are using is BUGGY.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find anything in the standard that makes that small reproducer non-conforming.&lt;/P&gt;&lt;P&gt;In addition, a later version of gfortran as well as the latest Intel Fortran compiler processes the small reproducer code with no errors or warnings:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;C:\Temp&amp;gt;type m.f90
module m
   interface
      module subroutine sub() bind(C, name="sub")
      end subroutine
   end interface
end module

submodule(m) sm
contains
   module subroutine sub() bind(C, name="sub")
   end subroutine
end submodule

C:\Temp&amp;gt;gfortran --version -c -Wall -std=f2018 m.f90
GNU Fortran (GCC) 10.0.1 20200209 (experimental)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


C:\Temp&amp;gt;ifort /c /standard-semantics /warn:all /stand:f18 m.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.3.311 Build 20201010_000000
Copyright (C) 1985-2020 Intel Corporation.  All rights reserved.


C:\Temp&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 21 Nov 2020 02:28:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230436#M152822</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2020-11-21T02:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230454#M152827</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/112565"&gt;@ff&lt;/a&gt;, I also think that is a bug, I installed a later version of gfortran in it fixes this problem and some other problems but finds a couple of new ones.... Still the exercise is throwing up one or two standards issues in my code that "compiles OK" in ifort.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 09:09:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230454#M152827</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-11-21T09:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error: BIND(C) attribute at (1) can only be used for variables or common blocks</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230494#M152830</link>
      <description>&lt;LI-CODE lang="python"&gt;@andrew_4619 wrote:

.. I installed a later version of gfortran in it fixes this problem and some other problems but finds a couple of new ones.... Still the exercise is throwing up one or two standards issues in my code that "compiles OK" in ifort. &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/66560"&gt;@andrew_4619&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I strongly recommend you to try this Fortran Discourse site for such issues, especially because it may involve Fortran language matters generally and a separate processor (open-source gfortran) than Intel Fortran:&lt;/P&gt;&lt;P&gt;&lt;A href="https://fortran-lang.discourse.group/" target="_blank"&gt;https://fortran-lang.discourse.group/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 15:59:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-BIND-C-attribute-at-1-can-only-be-used-for-variables-or/m-p/1230494#M152830</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2020-11-21T15:59:29Z</dc:date>
    </item>
  </channel>
</rss>

