找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 823|回复: 0
收起左侧

HELIX移植问题

[复制链接]
ID:918729 发表于 2022-2-8 09:48 | 显示全部楼层 |阅读模式
#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这非静态用了非静态,谢各位大神,真的是一点办法都没有了,

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表