[Bug libstdc++/56627] class hash instead of struct hash

andreas.hansson at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 16 12:02:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56627

--- Comment #6 from ahansson <andreas.hansson at gmail dot com> 2013-03-16 12:01:39 UTC ---
(In reply to comment #4)
> I'm happy to fix things in libstdc++ that are broken and cause real problems
> for clang users, but this is correct C++ and causes a spurious warning. Not a
> bug, not worth wasting time on.

The potential for "real problems" was my main reason for pointing it out. I ran
some (unrelated) tests on Fedora Rawhide (fc19) with clang 3.2 RELEASE and gcc
4.8.0 and this issue popped up as -Wall -Werror was used for the project in
question.

The two lines mentioned are the only issues encountered. If it is worth
"fixing" or not I leave up to you to decide, I merely wanted to highlight the
potential issues.



More information about the Gcc-bugs mailing list