Fortran Coder

标题: 生成解决方案时出现This is not a field name that ... [打印本页]

作者: 莫名其妙    时间: 2016-8-28 22:25
标题: 生成解决方案时出现This is not a field name that ...
各路大神,为什么我在生成解决方案时总是出现下列错误? This is not a field name that is defined in the encompassing structure.   [FAJ]
1>F:\SCIATRAN\SCIATRANCODE\Execute-3.3.2\Console1\Console1\st_up_vrs.f(91): error #6158: The structure-name is invalid or is missing.   [SVR]
1>F:\SCIATRAN\SCIATRANCODE\Execute-3.3.2\Console1\Console1\st_up_vrs.f(91): error #6678: When the target is an expression it must deliver a pointer result.   [SVR]
1>F:\SCIATRAN\SCIATRANCODE\Execute-3.3.2\Console1\Console1\st_up_vrs.f(92): error #6460: This is not a field name that is defined in the encompassing structure.   [FBJ]
1>F:\SCIATRAN\SCIATRANCODE\Execute-3.3.2\Console1\Console1\st_up_vrs.f(92): error #6678: When the target is an expression it must deliver a pointer result.   [SVR]


作者: fcode    时间: 2016-8-29 08:03
This is not a field name that is defined in the encompassing structure.   [FAJ]
这表示,FAJ 并不是当前的结构体的成员变量。

后面的错误,请先纠正第一个错误后再重新编译一下。也许就没了。

如果还有问题,请给出必要的代码,错误提示。如果是编译错误,先尝试解决第一个。




欢迎光临 Fortran Coder (http://bbs.fcode.cn/) Powered by Discuz! X3.2