- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
following code:
[fortran]module ala implicit none type :: foo procedure(bar), pointer :: baz end type interface subroutine bar(this) import foo implicit none class(foo), intent(inout) :: this end subroutine bar end interface end module ala[/fortran] gives me
[bash]import_intel.f90(5): error #6404: This name does not have a type, and must have an explicit type. [BAZ] procedure(bar), pointer :: baz ---------------------------------^ compilation aborted for import_intel.f90 (code 1)[/bash] with
[bash]Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.1.5.339 Build 20120612[/bash] Whereas it works fine with gcc-4.6 -std=f2003 and pgi-11.2.
AFAIK following construct using import is allowed by Fortran Standard, but maybe I'm wrong :)
Best regards,
Kacper Kowalik
following code:
[fortran]module ala implicit none type :: foo procedure(bar), pointer :: baz end type interface subroutine bar(this) import foo implicit none class(foo), intent(inout) :: this end subroutine bar end interface end module ala[/fortran] gives me
[bash]import_intel.f90(5): error #6404: This name does not have a type, and must have an explicit type. [BAZ] procedure(bar), pointer :: baz ---------------------------------^ compilation aborted for import_intel.f90 (code 1)[/bash] with
[bash]Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.1.5.339 Build 20120612[/bash] Whereas it works fine with gcc-4.6 -std=f2003 and pgi-11.2.
AFAIK following construct using import is allowed by Fortran Standard, but maybe I'm wrong :)
Best regards,
Kacper Kowalik
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a bug that is fixed for our September release.

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