1) https://gcc.gnu.org/onlinedocs/gfortran/C_005fLOC.html 应具有POINTER或TARGET属性。它不应为共索引对象。它应该是一个具有可互操作类型和种类类型参数的变量,或者是一个没有长度类型参数的标量非多态变量。 2) C_LOC has always (since its creation in F2003) required TARGET or POINTER. F2003 also required the argument to be interoperable - that was relaxed in F2008: “It shall either be a variable with interoperable type and kind type parameters, or be a scalar, nonpolymorphic variable with no length type parameters.” |
说点什么...