代码段:
static struct
{
static const unsigned char myConstArray[] =
{
50, 51, 52, 52, 53, 54, 55, 55, 56, 57, 58, 58, 59, 60,
};
//more....
}_SomeValues;
Run Code Online (Sandbox Code Playgroud)
这怎么可行?(抱怨说= =之后;缺少)
改成:
static struct
{
const unsigned char myConstArray[14];
} _SomeValues =
{
{
50, 51, 52, 52, 53, 54, 55, 55, 56, 57, 58, 58, 59, 60,
}
};
Run Code Online (Sandbox Code Playgroud)