[PyKDE] SIP parse error

Ulrich Berning ulrich.berning at desys.de
Wed Jun 22 13:41:49 BST 2005


Phil Thompson schrieb:

>>On Sun, 19 Jun 2005 14:37:48 +0100
>>Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
>>
>>    
>>
>>>On Friday 17 June 2005 9:13 pm, James Emerton wrote:
>>>      
>>>
>>>>There is a small issue with the parsing code in SIP.  I get a parse
>>>>error whenever a %MethodCode section contains a %, such as a printf()
>>>>format string.
>>>>
>>>>My workaround right now is to use something like this...
>>>>const char fmt[] = { 37, '0', '4', 'd', 37, '0', '2', 'd', 37, '0',
>>>>'2', 'd', 0 };
>>>>        
>>>>
>>>Should be fixed in tonight's snapshot.
>>>      
>>>
>>I see some strange syntax errors with this snapshot for project
>>successfully built with sip-snapshot-20050605.  In all cases the error
>>is in %Included file and in one case the error is at line 271 of file
>>having 214 lines.
>>    
>>
>
>Can you send me a test case?
>
>Phil
>
>_______________________________________________
>PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
>http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>
>  
>
I get a syntax error in qwtvaluelist.sip at line 134 when I try to build 
PyQwt-4.2 with sip-snapshot-20050619. The previous snapshot (20050605) 
was ok.

Ulli





More information about the PyQt mailing list