找回密碼
 立即注冊(cè)

QQ登錄

只需一步,快速開始

搜索
查看: 1391|回復(fù): 0
打印 上一主題 下一主題
收起左側(cè)

HELIX移植問題

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
ID:918729 發(fā)表于 2022-2-8 09:48 | 只看該作者 回帖獎(jiǎng)勵(lì) |倒序?yàn)g覽 |閱讀模式
#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

錯(cuò)誤<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   這是主要錯(cuò)誤
                            ^
../../../../../../../platform/component/helix/pub/statname.h:54:24: note: in definition of macro 'STATCC2'
#define STATCC2(x,y,z) x##y##z

編譯不能通過,提示'xmp3_PolyphaseMono這非靜態(tài)用了非靜態(tài),謝各位大神,真的是一點(diǎn)辦法都沒有了,

分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復(fù)

使用道具 舉報(bào)

本版積分規(guī)則

手機(jī)版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機(jī)教程網(wǎng)

快速回復(fù) 返回頂部 返回列表