GNU C++ error messages [closed]

六月ゝ 毕业季﹏ 提交于 2019-12-29 06:22:40

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/1043379/gnu-c-error-messages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!