[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gcc problem



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]