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.

关于#pragma SET_DATA_SECTION???



  为什么我在C语言中加入:
#pragma SET_DATA_SECTION("mydata")
int x;
int y;
#pragma SET_DATA_SECTION()
编译时提示:warning: unrecognized #pragma??
这是"TMS320C6000 Optimizing Compiler v 7.3.pdf"文档中的例子呀!!!
难道 只能用 #pragma DATA_SECTION(x,"mydatasection") 对每一个变量定义???