http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
--- Comment #10 from Ulrich Drepper 2012-08-25
22:54:02 UTC ---
Created attachment 28085
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28085
Avoid nested inlined friend functions
This patch fixes the issue for me. It also cleans the code.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
Marc Glisse changed:
What|Removed |Added
CC||glisse at gcc dot gnu.org
--- Comment #9 fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
--- Comment #8 from Paolo Carlini 2012-08-25
20:38:51 UTC ---
I see. Thanks for the clang data point, anyway!
Now we have to figure out which compiler is right and then decide what we want
to do for GCC and its library... I suspect we want to av
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
--- Comment #7 from Jonathan Wakely 2012-08-25
20:34:22 UTC ---
(In reply to comment #5)
> Comeau rejects it for me, the problem happens at compile time.
Huh, so it does, I must have pasted the wrong code last time I tried it, sorry!
If I'd see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
Daniel Krügler changed:
What|Removed |Added
CC||daniel.kruegler at
|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
--- Comment #5 from Paolo Carlini 2012-08-25
20:25:09 UTC ---
Comeau rejects it for me, the problem happens at compile time.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
--- Comment #4 from Jonathan Wakely 2012-08-25
20:18:41 UTC ---
Ah, I only tried Comeau online - which doesn't link of course.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
Paolo Carlini changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #3 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
--- Comment #2 from Jonathan Wakely 2012-08-25
19:50:30 UTC ---
Clang and EDG accept the reduced testcase, but every GCC I tried back to 4.1.2
rejects it, with a different error for 4.1.2:
r.cc:10: error: ambiguous overload for 'operator==' in '
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
10 matches
Mail list logo