public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Bugfix request
@ 2009-05-25 19:02 Piotr Wyderski
  2009-05-26  1:47 ` Robert Dewar
  0 siblings, 1 reply; 3+ messages in thread
From: Piotr Wyderski @ 2009-05-25 19:02 UTC (permalink / raw)
  To: gcc

Hello,

I would like to kindly ask somebody to fix PR38064,
as the bug is very annoying -- it makes the use of
enum class virtually impossible. Most of my "GCCBUG"
workaround comments refer to this one.

For a quick reference:

enum class E { elem };

int main()
{
        E e = E::elem;
        if (e == E::elem);
        return 1;
}
g++ -std=c++0x tc1.cpp
tc1.cpp: In function 'int main()':
tc1.cpp:6: error: invalid operands of types 'E' and 'E' to binary 'operator=='

Best regards
Piotr Wyderski

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-25 22:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-25 19:02 Bugfix request Piotr Wyderski
2009-05-26  1:47 ` Robert Dewar
2009-05-26 13:00   ` Piotr Wyderski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).