出现temp definition shadows previous definition是什么意
将粘度定义为温度的函数,出现temp definition shadows previous definition是什么意思,有错误吗?
cpp -ID:\Fluent.Inc1\fluent6.1.22/src -ID:\Fluent.Inc1\fluent6.1.22/cortex/src - ID:\Fluent.Inc1\fluent6.1.22/client/src -ID:\Fluent.Inc1\fluent6.1.22/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" :\exam\viscosity.c
temp definition shadows previous definition 老帖子了,正好这几天我也遇到类似的问题,刚刚解决了,贴上来补齐帖子希望对后面遇到类似问题的朋友有个参考吧‘
我出现的是:
all_source definition shadows previous definition
all_source
只是两个name重复定义了,任意改动一个就可以了
DEFINE_SOURCE(all_source,c,t,dS,eqn)
{
real source;
real R1;
real R2;
real R3;
real R4;
real R5;
很简单的一个问题,我却研究了半天,好尴尬,哈哈
出现temp definition shadows previous definition是什么意
我也出现同样的问题,不知道楼主有没有解决那个问题?
页:
[1]