#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這非靜態用了非靜態,謝各位大神,真的是一點辦法都沒有了,
|