This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: google summer of code 2013
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Edik Bondarenko <bondarenkoedik at gmail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 4 Apr 2013 19:03:29 +0100
- Subject: Re: google summer of code 2013
- References: <CAK=jXxmpXcV8u5ckioV4DjrZQLftdiVqN+DQ5dD8JvnkEWdWsg at mail dot gmail dot com>
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