Red Hat Bugzilla – Bug 26455
Broken C++ in Qt header
Last modified: 2008-05-01 11:37:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-3 i686)
In QT header qregion.h, there is a snippet like :
This is illegal C++ and breaks with gcc > 2.95.2
This whole xor() function should be removed.
Steps to Reproduce:
1. Compile with g++ > 2.95.2 and include qregion.h
Actual Results: "defined" without an identifier
Expected Results: Should have compiled :)
Alas, -fno-operator-names is also broken in both gcc-c++-2.96-54 and
I'm filing that as a separate bug.
It's fixed in qt1x-1.45-12. It's in rawhide.