标题: HELIX移植问题 [打印本页]

作者: 强太爷    时间: 2022-2-8 09:48
标题: HELIX移植问题
#define       STAT_PREFIX                xmp3

#define STATCC1(x,y,z)        STATCC2(x,y,z)
#define STATCC2(x,y,z)        x##y##z  

#ifdef STAT_PREFIX
#define STATNAME(func)        STATCC1(STAT_PREFIX, _, func)
#else
#define STATNAME(func)        func
#endif

错误<built-in>: note: this is the location of the previous definition
In file included from ../../../../../../../platform/component/helix/pub/mp3common.h:48:0,
                 from ../../../../../../../platform/component/helix/real/coder.h:47,
                 from ../../../../../../../platform/component/helix/real/polyphase.c:48:
../../../../../../../platform/component/helix/pub/statname.h:51:28: error: static declaration of 'xmp3_PolyphaseMono' follows non-static declaration
#define       STAT_PREFIX  xmp3   这是主要错误
                            ^
../../../../../../../platform/component/helix/pub/statname.h:54:24: note: in definition of macro 'STATCC2'
#define STATCC2(x,y,z) x##y##z

编译不能通过,提示'xmp3_PolyphaseMono这非静态用了非静态,谢各位大神,真的是一点办法都没有了,






欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1