猿代码 — 科研/AI模型/高性能计算
0

Argument X at (1) to C_LOC shall have either the POINTER or the TARGET attribute

摘要: 1)https://gcc.gnu.org/onlinedocs/gfortran/C_005fLOC.html应具有POINTER或TARGET属性。它不应为共索引对象。它应该是一个具有可互操作类型和种类类型参数的变量,或者是一个没有长度类型参数的标量非多态变量。2)C ...

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.”





说点什么...

已有0条评论

最新评论...

本文作者
2024-1-26 13:43
  • 0
    粉丝
  • 165
    阅读
  • 0
    回复
资讯幻灯片
热门评论
热门专题
排行榜
Copyright   ©2015-2023   猿代码-超算人才智造局 高性能计算|并行计算|人工智能      ( 京ICP备2021026424号-2 )