Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GNU C++ error messages [closed]

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.

like image 322
Ferruccio Avatar asked Jun 25 '09 11:06

Ferruccio


1 Answers

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.

like image 79
Laurynas Biveinis Avatar answered Oct 20 '22 12:10

Laurynas Biveinis