[Zope-dev] Z-I with GCC 4
Chris Spencer
gmane.20.evilspam at spamgourmet.com
Mon Jul 18 23:50:16 EDT 2005
I tried installing Zope Interface on FC4 using GCC 4, and I received the
following error:
running install
running build
running build_py
running build_ext
building 'zope.interface._zope_interface_coptimizations' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC
-IDependencies/zope.interface-ZopeInterface-3.0.0/zope.interface
-I/usr/include/python2.4 -c
Dependencies/zope.interface-ZopeInterface-3.0.0/zope.interface/_zope_interface_coptimizations.c
-o
build/temp.linux-i686-2.4/Dependencies/zope.interface-ZopeInterface-3.0.0/zope.interface/_zope_interface_coptimizations.o
Dependencies/zope.interface-ZopeInterface-3.0.0/zope.interface/_zope_interface_coptimizations.c:339:
error: static declaration of ‘SpecType’ follows non-static declaration
Dependencies/zope.interface-ZopeInterface-3.0.0/zope.interface/_zope_interface_coptimizations.c:73:
error: previous declaration of ‘SpecType’ was here
error: command 'gcc' failed with exit status 1
Does Zope not yet work with GCC 4? Is there anything I can do to work
around this?
Thanks,
Chris Spencer
More information about the Zope-Dev
mailing list