http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32986

--- Comment #2 from afhoffie at ncsu dot edu 2011-06-20 23:02:09 UTC ---
Dear Sir or Madam,

I am trying to define an array index variable but also an allocatable array
in my fortran subroutine as a common object. This object is defined as a
global variable in C++ with extern"C"{struct{}name_;}. However, the gfortran
compiler tells me: "Error: variable in this context must be a constant.
Please see attached files.

Would appreciate any help. Thanks very much.

Best regards,

Andreas Hoffie

Reply via email to