如何禁止警告528? [英] How do I inhibit warning 528?

查看:104
本文介绍了如何禁止警告528?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




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

推荐答案

ro ***** ****** @ hotmail.com (罗伯特)写道:

新闻:94 ******************** ****@posting.google.com:
ro***********@hotmail.com (Robert) wrote in
news:94************************@posting.google.com :
警告528:符号''MY_STATIC_CONST_INT_VAR''(第426行,文件
headfile.h)未引用

我明白为什么,但我不确定是否要更改代码以取消警告。如何禁止MY_STATIC_CONST_INT_VAR的警告?
[snip]任何想法?
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? [snip] Any ideas?




在新闻组中询问讨论你的编译器或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 ->
--


Robert写道:


Flexelint说:

警告528:符号''MY_STATIC_CONST_INT_VAR''(第426行,文件
headfile.h)未引用

我明白为什么,但我不确定我想要更改代码以取消警告。我如何禁止警告
MY_STATIC_CONST_INT_VAR?

FLINT_INHIBIT + = -e528

禁止此类型的所有警告,这就是很多。

FLINT_INHIBIT + = -efunc \(528,Func \)

要求问题出在特定的功能中,
(即使文档说明禁止符号?)

任何想法?
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?




当然。找一个关于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


在''comp.lang.c'', ro *********** @ hotmail.com (罗伯特)写道:
In ''comp.lang.c'', ro***********@hotmail.com (Robert) wrote:
Flexelint说:

警告528:符号''MY_STATIC_CONST_INT_VAR''(第426行,文件
headfile.h)未引用
Flexelint says:

Warning 528: Symbol ''MY_STATIC_CONST_INT_VAR'' (line 426, file
headfile.h) not referenced




你能发布确定''MY_STATIC_CONST_INT_VAR''的确切行吗?似乎

是静态对象的定义。听起来很糟糕......


-

-ed- em ********** @ noos.fr [在回答我之前删除YOURBRA]

C语言常见问题解答: http://www.eskimo.com/~scs/C-faq/ top.html

C-reference: http://www.dinkumware.com/manuals/reader.aspx?lib=cpp

FAQ de fclc: http://www.isty-info.uvsq.fr/~rumeau/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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆