This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13178] Bogus C++ error message referring to operator 1
- From: "ian at wasabisystems dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Nov 2003 18:32:22 -0000
- Subject: [Bug c++/13178] Bogus C++ error message referring to operator 1
- References: <20031124181040.13178.ian@airs.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ian at wasabisystems dot com 2003-11-24 18:32 -------
Subject: Re: Bogus C++ error message referring to operator 1
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> PS: How did you get to write such code? Martin van Loewis once posted
> a PR in which he showed that such function signatures are sometimes
> even accepted by gcc, erroneously of course (this is PR 8856)...
I recently wrote a new demangler, and I was trying to create a test
case which used an outer template parameter as the result type of a
templated conversion operator. So it's not real code. I just noticed
the bogus error message during my attempts. I did eventually manage
to do what I wanted.
Ian
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13178