Gcc 如何修复';警告“1173-D:属性”;不赞成;忽略?';

Gcc 如何修复';警告“1173-D:属性”;不赞成;忽略?';,gcc,omap,Gcc,Omap,一些常用的实用程序函数需要像这样弃用: __attribute__((deprecated)) void TestDeprecatedMethod(int a, float b); warning: 'void CTest::TestDeprecatedMethod(int, float)' is deprecated 这在OMAP的臂侧工作正常,如下所示: __attribute__((deprecated)) void TestDeprecatedMethod(int a, float

一些常用的实用程序函数需要像这样弃用:

__attribute__((deprecated)) void TestDeprecatedMethod(int a, float b);
warning: 'void CTest::TestDeprecatedMethod(int, float)' is deprecated
这在OMAP的臂侧工作正常,如下所示:

__attribute__((deprecated)) void TestDeprecatedMethod(int a, float b);
warning: 'void CTest::TestDeprecatedMethod(int, float)' is deprecated
但它在DSP方面失败了,就像这样

warning #1173-D: attribute "deprecated" ignored
使用gcc(Ubuntu/Linaro 4.6.3-1ubuntu5)4.6.3和ti-dvsdk_omapl138-evm_4_02_00_06/c6000_7.4.7。DSP构建需要更改哪些内容?

根据TI

C6000编译器版本7.4.x不支持GCC属性 不赞成