Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

migrate project CVF6.6c to IVF

$
0
0

Hey folks !

I have a working project on Compaq visual fortran (written a couple years back now), but I'd like to migrate it to IVF to work on it.

Problem, I have a few compatibility problems I would need help on.

First thing first, this annoying error 6796 on pointers

R:\r.egal\Projets en cours\Programmes\Prosec3D\Test Intel\Prosec3D\Source1.f90(6): error #6796: The variable must have the TARGET attribute or be a subobject of an object with the TARGET attribute, or it must have the POINTER attribute.   [MAILLE]

The corresponding code (simplified) would be 

	subroutine case_x(maille)
		integer, intent(inout) :: maille
		integer, pointer :: pt_P
!-----------------------------------
		nullify(pt_P)
		pt_P=>maille
	end subroutine case_x

Why do I have this error when it works just fine in older versions ?

Is there an option in the project properties I'd have to check ?

Please advise

Cheers

Renaud


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>