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关键字



如图所示,我想在双核通信的DSP(SYS/BIOS)上只用#pragma DATA_ALIGN(XXX, 4)对齐操作,以增加代码执行效率。
但是在LINUX下面MAKEFILE编译后出现报警

编译器没有认这个#pragma关键字,虽然代码可以执行,但速度没有效果。

各位看看是我漏包含了什么文件嘛?还是需要别的操作?


我使用的是algorithm_ex04例程,makefile文件也是程序自带的。