This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GT_Trace定义其他变量就不能显示了



我在算法的.C文件中看到了GT_0Trace(curTrace,GT_ENTER,"helloword"),其中,curTrace变量在文件中有定义 static GT_Mask curTrace,={NULL,NULL},我就在这个地方也加了一句,static GT_Mask test,={NULL,NULL},然后再GT_0Trace(curTrace,GT_ENTER,"helloword"),语句后面加了一句GT_0Trace(test,GT_ENTER,"testing helloword"),运行结果是helloword,为什么testing helloword没有显示??难道自己定义其他变量就不能用了??