#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这非静态用了非静态,谢各位大神,真的是一点办法都没有了,
|