如何禁止警告528?

编程入门 行业动态 更新时间:2024-10-11 11:15:02
本文介绍了如何禁止警告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 (罗伯特)写道: 新闻:94 ******************** ****@posting.google: ro***********@hotmail (Robert) wrote in news:94************************@posting.google : 警告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 (罗伯特)写道: In ''comp.lang.c'', ro***********@hotmail (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语言常见问题解答: www.eskimo/~scs/C-faq/ top.html C-reference: www.dinkumware/manuals/reader.aspx?lib=cpp FAQ de fclc: 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: www.eskimo/~scs/C-faq/top.html C-reference: www.dinkumware/manuals/reader.aspx?lib=cpp FAQ de f.c.l.c : www.isty-info.uvsq.fr/~rumeau/fclc/

更多推荐

如何禁止警告528?

本文发布于:2023-11-09 07:42:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1571765.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!