http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44499
--- Comment #13 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-03-04 10:02:19 UTC --- (In reply to comment #12) > Manu, can we close this? @Jonathan I still think that the messages of Comeau and Clang are better than GCC's. I will try for 4.7 to produce a patch to change the message to be like: error: default initialization of const object 'g_d' requires a user-provided default constructor [-fpermissive] note: 'const class D' has no user-provided default constructor Do you agree? (I'd like to keep the note to jump to the declaration of class D). @Piotr,Ryan I started a list of GCC diagnostics in the wiki. http://gcc.gnu.org/wiki/VerboseDiagnostics There is only one but the idea would be to collect in a single place extended explanations and fix-it hints about gcc diagnostics. Perhaps in the future such knowledge can be added to the compiler proper and enabled with a -fdiagnostics-explain or -fdiagnostics-fix-it. I think this could be a killer-feature for GCC to have, but collecting the data is a lot of work for a single person. This is a way to contribute to GCC without writing a single line of code!