Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid passed-object dummy argument in proc_ptr_47.f90 #4

Closed
nncarlson opened this issue Jan 28, 2018 · 1 comment
Closed

Invalid passed-object dummy argument in proc_ptr_47.f90 #4

nncarlson opened this issue Jan 28, 2018 · 1 comment
Assignees

Comments

@nncarlson
Copy link
Owner

The passed-object dummy argument A cannot be ALLOCATABLE according to constraints C453 (F03), C456 (F08), C461(F15):

 6:   type AA
 7:     integer :: i
 8:     procedure(foo), pointer :: funct
 9:   end type
      [...]
22: contains
23:   function foo(A)
24:     class(AA), allocatable :: A
$ nagfor -kind=byte proc_ptr_47.f90
NAG Fortran Compiler Release 6.1(Tozai) Build 6144
Error: proc_ptr_47.f90, line 8: Passed-object dummy argument A of procedure pointer component FUNCT of type AA is ALLOCATABLE
@janusw janusw self-assigned this Feb 12, 2018
@janusw
Copy link
Collaborator

janusw commented Feb 12, 2018

@janusw janusw closed this as completed Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants