[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] [SIP] operator * Error
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2011-04-20 17:18:12
Message-ID: 23822ff50d51c68468df45cbdac55cd6 () localhost
[Download RAW message or body]

On Wed, 20 Apr 2011 15:53:00 +0200, Kermit <stef.kermit@gmail.com> wrote:
> hi,
> 
> In Matrix33.sip, i've this line
> 
> Vec2 operator *  (const Vec2 &v, const Matrix33 &m);
> 
> and sip return me
> sip: Matrix33.sip:285: Global operators must be either numeric or
> comparison
> operators
> 
> 
> i don't understand, because it's work fine in Vec3.sip
> with
> Vec3 operator * (float a, const Vec3 &v);
> 
> the syntaxe is near ......

I need a test case...

One possibility is that the line number in the error message is not quite
right. You might want to look at the lines either side.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic