Error: Can't convert TYPE(c_ptr) to INTEGER(4)

Janus Weil janus@gcc.gnu.org
Thu Sep 2 19:46:00 GMT 2010


> $ gfortran -c test.F90 -o test.o
> test.F90:5.30:
>
>     type(c_ptr) :: accelPtr = c_null_ptr
>                              1
> Error: Can't convert TYPE(c_ptr) to INTEGER(4) at (1)

Apparently Tobias has already filed a PR for this:

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

I will take care of it ...

Cheers,
Janus



More information about the Fortran mailing list