GNU C ++错误消息 [英] GNU C++ error messages

查看:146
本文介绍了GNU C ++错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在寻找类似于MSDN文档的内容,该文档描述了每个消息意味着并且可能有一些示例代码,演示导致这种错误的条件。



我看过 GCC在线文档,但是我甚至没有看到所有可能邮件的简单枚举。

解决方案

不幸的是,没有这样的列表,只有GCC源代码本身定义了消息。



其中一些消息是由GCC testuite执行,所以你可以在那里找到一些例子,如果你下载GCC的源代码。当然,它们被写为GCC的功能和回归测试,而不是作为用户的文档。


Is there a comprehensive list of error/warning messages for the g++ compiler available online?

I'm looking for something similar to the MSDN documentation which describes what each message means and possibly has some sample code which demonstrates the conditions which would cause such an error.

I've looked at the GCC online documentation, but I don't see even a simple enumeration of all possible messages.

解决方案

Unfortunately, there is no such list, only the GCC source code itself defines the messages.

Some of those messages are exercised by the GCC testsuite, so you can find some examples there, if you download the source code of GCC. Of course they are written as functional and regression tests for GCC and not as a documentation for the user.

这篇关于GNU C ++错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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