关于__attribute__关键字的Eclipse CDT语法错误 [英] Eclipse CDT syntax error on __attribute__ keyword
本文介绍了关于__attribute__关键字的Eclipse CDT语法错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道在使用gcc的 __属性__
关键字时是否有办法摆脱CDT语法错误警告。
I would like to know if there is a way to get rid of CDT syntax error warnings when using gcc's "__attribute__
" keyword.
不用说我不想关闭CDT语法检查。
It goes without saying that I would not like to switch off CDT syntax check.
推荐答案
Project->Properties->C/C++ general->Path and Symbols->Symbols
Add->
Name: __attribute__(X)
Value: (leave blank)
这篇关于关于__attribute__关键字的Eclipse CDT语法错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文