[Zope-Coders] lib/python/zope/interface/_zope_interface_coptimizations.c/GCC 4 compile error

Andreas Jung lists at andreas-jung.com
Thu May 19 04:51:10 EDT 2005


Hi,

could someone please change on the 2.8 trunk  the file above and apply the 
following
patch:

ajung at localhost:~/sandboxes/Zope/Zope/lib/python/zope/interface: svn diff
Index: _zope_interface_coptimizations.c
===================================================================
--- _zope_interface_coptimizations.c    (revision 30353)
+++ _zope_interface_coptimizations.c    (working copy)
@@ -70,7 +70,7 @@
   return 0;
 }

-extern PyTypeObject SpecType;   /* Forward */
+static PyTypeObject SpecType;   /* Forward */

 static PyObject *
 implementedByFallback(PyObject *cls)


This fixes a compilation error with GCC 4. I tried to commit the patch 
myself but
on my trunk checkout this part is only a readonly checkout and I did not 
succeed
get a read-write checkout myself from the svn server :-/

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-coders/attachments/20050519/dac4e730/attachment.bin


More information about the Zope-Coders mailing list