This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39478] please improve recursive template instantiation diagnostics
- From: "d.frey at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Oct 2011 13:19:02 +0000
- Subject: [Bug c++/39478] please improve recursive template instantiation diagnostics
- Auto-submitted: auto-generated
- References: <bug-39478-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39478
--- Comment #2 from Daniel Frey <d.frey at gmx dot de> 2011-10-22 13:19:02 UTC ---
I think I'm asking for the word "recursion" or "recursive" in the error
message, bonus points for clearly identifying the cycle. The example is
obviously too simple to demonstrate the usefulness, but real-world cases can be
hard to understand if the compiler is claiming a certain type is incomplete and
you don't see why. When the cycle starts after a long prologue, it's even
harder to spot.