This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13178] Bogus C++ error message referring to operator 1


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]