Hi,
  I needed to make this change to sip.h.  This macro is in various
places the target of a label at the end of a block; without it 
gcc complains about "label must be followed by statement" or 
something similar.

Thanks!

Anthony

(Linux gcc-2.95.3(+debian updates))


diff -ru mysip/siplib/sip.h /opt/python/include/sip.h
--- mysip/siplib/sip.h  Tue Apr 16 22:46:51 2002
+++ /opt/python/include/sip.h   Tue Apr 23 11:49:20 2002
@@ -369,8 +369,8 @@
 #define        SIP_BLOCK_THREADS       sipBlockThreads();
 #define        SIP_UNBLOCK_THREADS     PyEval_SaveThread();
 #else
-#define        SIP_BLOCK_THREADS
-#define        SIP_UNBLOCK_THREADS
+#define        SIP_BLOCK_THREADS 0;
+#define        SIP_UNBLOCK_THREADS 0;
 #endif
 
 #ifdef __cplusplus

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to