问题描述
Flexelint说:
警告528:符号''MY_STATIC_CONST_INT_VAR''(第426行,文件
headfile.h)未引用
我明白为什么,但我不确定我是否想要将代码更改为
删除警告。如何禁止警告只需
MY_STATIC_CONST_INT_VAR?
FLINT_INHIBIT + = -e528
禁止此类型的所有警告,这就是很多。
FLINT_INHIBIT + = -efunc\(528,Func \)
要求问题出在特定的功能中,
(即使文档说禁止符号?)
任何想法?
/ Robert
Hi,
Flexelint says:
Warning 528: Symbol ''MY_STATIC_CONST_INT_VAR'' (line 426, file
headfile.h) not referenced
I do understand why, but I''m not sure I wanna change the code to
remove the warning. How do I inhibit the warning for just
MY_STATIC_CONST_INT_VAR?
FLINT_INHIBIT += -e528
inhibit all warnings of this type, and that is to much.
FLINT_INHIBIT += -efunc\(528,Func\)
demands that the problem is in a specific function,
(even though the documentation says inhibition of symbol?)
Any ideas?
/Robert
推荐答案
在新闻组中询问讨论你的编译器或Lint包。
禁止警告什么都没有与我们在这里讨论的C *语言*有关。
-
- 马克 - >
-
Ask in a newsgroup that discusses your compiler or Lint package.
Inhibiting warnings has nothing to do with the C *language* which we
discuss here.
--
- Mark ->
--
当然。找一个关于Flexelint的问题是热门话题的地方。这个
不是。
HTH,
--ag
-
Artie Gold - 德克萨斯州奥斯汀
Sure. Find a place where questions about `Flexelint'' is topical. This
isn''t it.
HTH,
--ag
--
Artie Gold -- Austin, Texas
你能发布确定''MY_STATIC_CONST_INT_VAR''的确切行吗?似乎
是静态对象的定义。听起来很糟糕......
-
-ed- [在回答我之前删除YOURBRA]
C语言常见问题解答:
C-reference:
FAQ de fclc:
Can you post the exact line where ''MY_STATIC_CONST_INT_VAR'' is defined? Seems
to be the definition of a static objet. Sounds like bad design...
--
-ed- em**********@noos.fr [remove YOURBRA before answering me]
The C-language FAQ: http://www.eskimo.com/~scs/C-faq/top.html
C-reference: http://www.dinkumware.com/manuals/reader.aspx?lib=cpp
FAQ de f.c.l.c : http://www.isty-info.uvsq.fr/~rumeau/fclc/
这篇关于如何禁止警告528?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!