开发者

Eclipse CDT: how to get rid of a specific warning?

开发者 https://www.devze.com 2022-12-09 17:49 出处:网络
How do I get rid of the \"开发者_开发知识库deprecated conversion\" warning in CDT?I know how to #pragma it out of the compilation process but the highlighting in the CDT is annoying!The warning, mo

Eclipse CDT: how to get rid of a specific warning?

How do I get rid of the "开发者_开发知识库deprecated conversion" warning in CDT? I know how to #pragma it out of the compilation process but the highlighting in the CDT is annoying!


The warning, more probably than not, comes from the compiler. If you compiled and got the warning and later on removed it from the compilation process by means of a pragma or compiler option, it might be the case that the IDE still remembers it. It should go away in a later compilation, or you can manually delete within the Problems windows.

If you have not removed it from the compilation process (that is, the warning comes out in each new compilation) this will be mainly useless as the warning will come back. But then again, if it is still there, the IDE is just reminding you.

0

精彩评论

暂无评论...
验证码 换一张
取 消