__attribute__((deprecated)) void TestDeprecatedMethod(int a, float b);
在OMAP的臂侧,此操作如预期般工作,如下所示:
warning: 'void CTest::TestDeprecatedMethod(int, float)' is deprecated
warning #1173-D: attribute "deprecated" ignored
使用gcc(Ubuntu/Linaro 4.6.3-1ubuntu5)4.6.3和ti-dvsdk_omapl138-evm_02_00_06/c6000_7.4.7。在DSP构建上需要更改什么?