http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21038

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org
            Summary|Poor diagnostic             |report unmatched brace as a
                   |                            |note

--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-10-22 
14:27:48 UTC ---
Clang:

/tmp/webcompile/_32245_0.cc:5:11: error: expected '}'
    int k;
          ^
/tmp/webcompile/_32245_0.cc:1:12: note: to match this '{'
void foo() {
           ^
1 error generated.

In the worst case, it will tell you from which point you should start looking.

Reply via email to