} mem;
int main()
{
unsigned int cc[3];
unsigned int aa = 131071;
unsigned int *l,*h;
l = malloc(sizeof(int)*3);
l[0] = 13;
l[1] = 43;
l[2] = 54;
h = l;
int b;
b = aa>>16;
printf("%d",h);
看来C语言没到家啊
别人也有这个问题,看这个解决了
Maybe I'm missing it, but I see nowhere that you are allocating memory for msg. Usually you will get a segfault from code like this, but perhaps it is overwriting some other memory space and inadvertently turning on the debug messages?