You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!WARNING: FPTR= argument to C_F_POINTER() should not be unlimited polymorphic [-Winteroperability]
49
+
50
+
!These warnings have been disabled because the C_F_POINTER's restrictions
51
+
!are dependent on the source of the CPTR= argument. Each warning here
52
+
!might be a false positive for a valid program.
53
+
!!WARNING: FPTR= argument to C_F_POINTER() should not be unlimited polymorphic [-Winteroperability]
50
54
call c_f_pointer(scalarC, unlimited)
51
-
!PORTABILITY: FPTR= argument to C_F_POINTER() should not have a derived type that is not BIND(C) [-Wportability]
55
+
!!PORTABILITY: FPTR= argument to C_F_POINTER() should not have a derived type that is not BIND(C) [-Wportability]
52
56
call c_f_pointer(scalarC, notBindC)
53
-
!WARNING: FPTR= argument to C_F_POINTER() should not have the non-interoperable character length CHARACTER(KIND=1,LEN=2_8) [-Wcharacter-interoperability]
57
+
!!WARNING: FPTR= argument to C_F_POINTER() should not have the non-interoperable character length CHARACTER(KIND=1,LEN=2_8) [-Wcharacter-interoperability]
54
58
call c_f_pointer(scalarC, c2ptr)
55
-
!WARNING: FPTR= argument to C_F_POINTER() should not have the non-interoperable intrinsic type or kind CHARACTER(KIND=4,LEN=1_8) [-Winteroperability]
59
+
!!WARNING: FPTR= argument to C_F_POINTER() should not have the non-interoperable intrinsic type or kind CHARACTER(KIND=4,LEN=1_8) [-Winteroperability]
56
60
call c_f_pointer(scalarC, unicodePtr)
57
61
58
62
!ERROR: SHAPE= argument to C_F_POINTER() may not appear when FPTR= is scalar
0 commit comments