Mailing List Archive

lib/python/zope/interface/_zope_interface_coptimizations.c/GCC 4 compile error
Hi,

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

ajung@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
Re: lib/python/zope/interface/_zope_interface_coptimizations.c/GCC 4 compile error [ In reply to ]
Andreas Jung wrote:
> could someone please change on the 2.8 trunk the file above and apply
> the following
> patch:
>
> ajung@localhost:~/sandboxes/Zope/Zope/lib/python/zope/interface: svn diff

lib/python/zope points to
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.0-Zope-2.8-a3/src/zope

You have to fix this on the related Zope3 branch, tag a new version and
make lib/python/zope point to that new tag.

Cheers, Yuppie

_______________________________________________
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders