Strange pointer error with Intel ifort

My mistake… I stupidly forgot giving the shape !

call c_f_pointer( this%x%cptr(), this%flatraces, [ns] )

is ok.

I would expect at least a compilation warning in such a case.

1 Like