[Bug c++/21038] Poor diagnostic

2005-07-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-07-

[Bug c++/21038] Poor diagnostic

2005-04-14 Thread igodard at pacbell dot net
--- Additional Comments From igodard at pacbell dot net 2005-04-15 06:04 --- Yes, it's a design flaw of C that parens and bracked are so overloaded that the compiler (or the human) can't tell if the problem is too many openers or not enough closers. Still, every little bit helps :-) Iva

[Bug c++/21038] Poor diagnostic

2005-04-14 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-04-15 05:36 --- It may also very well be the case that the shown opening brace isn't the one that is unmatched, but that you forgot to close a block somewhere in the middle. W. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug c++/21038] Poor diagnostic

2005-04-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-15 04:05 --- I don't know if it would useful or not. Take the following: void g(); void h(); void f() { //. say about 100 lines if (a) { //. say about 100 lines //. say about 100 lines } well you