gcc problem

Jakub Jelinek jakub at redhat.com
Wed Dec 14 14:28:28 UTC 2005


On Wed, Dec 14, 2005 at 02:18:41PM +0000, Paul wrote:
> Hi,
> 
> Something I'm seeing a fair bit of with the 4.1 release of gcc are
> errors claiming that (say)
> 
> qopentype_p.h:67: error: extra qualification 'QOpenType::' on member
> 'positionAndAdd'
> 
> When I look at the source, I see
> 
> class QOpenType
> {
>  // some stuff
>  bool QOpenType::positionAndAdd(QShaperItem *item, bool doLogClusters =
> true);
>  // more
> };
> 
> If this is the correct behaviour, there is going to be a hell of a lot
> of code broken by it. From what I can see from the standard though, it
> isn't correct.

Please see
https://www.redhat.com/archives/fedora-devel-list/2005-December/msg00256.html

In particular, look at http://gcc.gnu.org/PR16782 to see that this
is not valid C++.

	Jakub




More information about the test mailing list