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

Andreas Jung <[email protected]> Thu, 19 May 2005 10:51:10 +0200
Newsgroups gmane.comp.web.zope.coders
Message-ID <184FFB30C77EBB0361CA4E9A@[10.19.128.101]>
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

_______________________________________________
Zope-Coders mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope-coders
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFCjFN+CJIWIbr9KYwRAmNYAJ0aZXBZPvU7YnRl72+5appXDU/0OACg1xvV
Tr2Km2kf2E0vd9vsVMQFFac=
=Qn1Z
-----END PGP SIGNATURE-----