--- Comment #11 from paolo dot carlini at oracle dot com 2010-02-19 09:16
---
Maybe it was a mistake on my part closing PR43113 as duplicate of this one.
Unless you can soon manage to fix both at once with a single patch, maybe
better separating the PRs again. Anyway, with your draft, P
--- Comment #10 from manu at gcc dot gnu dot org 2010-02-19 02:03 ---
With my patch, the testcase in PR43113 still looks awful because each single
line is already too long.
Basically, my patch fixes PR23510. The other PRs are different (but related)
problems.
--
http://gcc.gnu.org/
--- Comment #9 from manu at gcc dot gnu dot org 2010-02-19 01:59 ---
Now, I mean a recent GCC (4.5), not my patch.
The testcase for 23510 works ok and the output of my patch is:
pr9335-2.C:7:3: error: expected unqualified-id before template
pr9335-2.C: At global scope:
pr9335-2.C:4:
--- Comment #8 from manu at gcc dot gnu dot org 2010-02-19 01:54 ---
However, this particular error has gotten much worse and now we iterate over
the error:
(...skipping a lot of lines...)
pr9335.C: In instantiation of const int X<15>::value:
pr9335.C:2:36: instantiated from const
--- Comment #7 from paolo dot carlini at oracle dot com 2010-02-19 01:54
---
Having this finally fixed would be really great, Manuel!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9335
--- Comment #6 from manu at gcc dot gnu dot org 2010-02-19 01:49 ---
The following patch seems to do the trick:
Index: gcc/cp/error.c
===
--- gcc/cp/error.c (revision 150311)
+++ gcc/cp/error.c (working copy)
@@ -
--- Comment #5 from paolo dot carlini at oracle dot com 2010-02-18 14:18
---
*** Bug 43113 has been marked as a duplicate of this bug. ***
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
--- Additional Comments From bangerth at dealii dot org 2005-09-14 15:36
---
*** Bug 23510 has been marked as a duplicate of this bug. ***
--
What|Removed |Added