- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I just updated my compiler to the new version: Intel Visual Fortran Composer XE 2011 Integration for Microsoft Visual Studio* 2008, 12.0.3470.2008. I was trying to compile some code that used to work for version 11 but now I'm getting a very strange error:
error #6404: This name does not have a type, and must have an explicit type. [GET_SEGMENT_TIME_AT_NODE_INTERF%TIME_NODE]
catastrophic error: Internal Compiler Error: possible out of order or missing USE
the problem is that GET_SEGMENT_TIME_AT_NODE_INTERF is just the name of an abstract interface (located in an include file, see code below).
I have tried to duplicate the problem in a small project but no luck so far. I hope someone has seen a similar problem in the past.
UPDATE: If I make all the variables and routines in the module that contains the abstract interface PUBLIC then it compiles without problems. When some elements are PUBLIC and some PRIVATE I get the above error.
Thanks,
Juan
abstract interface
!********************************************************************************
subroutine get_segment_time_at_node_interf(seg_number, t_node, et)
!********************************************************************************
use kind_definitions
use time_node_type_module
implicit none
integer(cop_int), intent(in) :: seg_number
type(time_node), intent(in) :: t_node
real(cop_real), intent(out) :: et
!********************************************************************************
end subroutine get_segment_time_at_node_interf
!********************************************************************************
end interface
I just updated my compiler to the new version: Intel Visual Fortran Composer XE 2011 Integration for Microsoft Visual Studio* 2008, 12.0.3470.2008. I was trying to compile some code that used to work for version 11 but now I'm getting a very strange error:
error #6404: This name does not have a type, and must have an explicit type. [GET_SEGMENT_TIME_AT_NODE_INTERF%TIME_NODE]
catastrophic error: Internal Compiler Error: possible out of order or missing USE
the problem is that GET_SEGMENT_TIME_AT_NODE_INTERF is just the name of an abstract interface (located in an include file, see code below).
I have tried to duplicate the problem in a small project but no luck so far. I hope someone has seen a similar problem in the past.
UPDATE: If I make all the variables and routines in the module that contains the abstract interface PUBLIC then it compiles without problems. When some elements are PUBLIC and some PRIVATE I get the above error.
Thanks,
Juan
abstract interface
!********************************************************************************
subroutine get_segment_time_at_node_interf(seg_number, t_node, et)
!********************************************************************************
use kind_definitions
use time_node_type_module
implicit none
integer(cop_int), intent(in) :: seg_number
type(time_node), intent(in) :: t_node
real(cop_real), intent(out) :: et
!********************************************************************************
end subroutine get_segment_time_at_node_interf
!********************************************************************************
end interface
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That error is almost always (well, always in my experience) a compiler bug. Please attach a ZIP of your project that we can compile. It's not just that one source, but any modules it uses. When we get that we'll be glad to investigate.
Also, the version number you supplied is that of the Visual Studio integration. When reporting the version to us, please use the number shown under Installed Products, which in this case is 2011.2.154.
Also, the version number you supplied is that of the Visual Studio integration. When reporting the version to us, please use the number shown under Installed Products, which in this case is 2011.2.154.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page