On 31 March 2013 18:35, Edik Bondarenko wrote: > I am a student of Dnipropetrovsk National University. I am studying on > the fourth course. > I want to do 'Precision in Wording' for gcc. > Clang can shows exact description of the error with the instructions > how to fix it and I often need to use clang to determine the error, > especially if the error in templates or containers. > I want to gcc to be able to print the same beautiful message-error.
If you're referring to the "Precision in Wording" examples at http://gcc.gnu.org/wiki/Better_Diagnostics then those examples are already fixed in GCC: a.cc:2:12: error: expected ';' after class definition class a {} ^ a.cc:6:3: error: expected ';' after struct definition } ^ See http://gcc.gnu.org/wiki/ClangDiagnosticsComparison for some other comparisons, but note that in many cases involving template argument deduction GCC's output is already as good or better e.g. http://llvm.org/bugs/show_bug.cgi?id=15634