[Zope-Coders] Warnings compiling the Zope HEAD on Linux

Jens Vagelpohl jens@zope.com
Thu, 8 Aug 2002 07:29:17 -0400


these warnings (especially the pyexpat stuff) have been there literally 
for years. functionality has obviously not been affected. you're the first 
one to complain.

jens


On Thursday, August 8, 2002, at 04:13 , Chris Withers wrote:

> Hi All,
>
> I get a load of warnings from GCC when compiling the Zope HEAD:
>
> BTrees/BucketTemplate.c:214: warning: `bucket_append' defined but not used
> BTrees/BucketTemplate.c:214: warning: `bucket_append' defined but not used
> BTrees/BucketTemplate.c:214: warning: `bucket_append' defined but not used
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmlparse/xmlparse.c:2341: warning: `errorProcessor' defined but not used
> In file included from 
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok.c:260:
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok_impl.c: In function `normal_getAtts':
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok_impl.c:1394: warning: `open' might be used uninitialized in 
> this function
> In file included from 
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok.c:653:
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok_impl.c: In function `little2_getAtts':
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok_impl.c:1394: warning: `open' might be used uninitialized in 
> this function
> In file included from 
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok.c:792:
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok_impl.c: In function `big2_getAtts':
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok_impl.c:1394: warning: `open' might be used uninitialized in 
> this function
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok.c: In function `initScan':
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/expat/
> xmltok/xmltok.c:1494: warning: subscript has type `char'
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/dcpyexpat.
> c: In function `my_StartElementHandler':
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/dcpyexpat.
> c:73: warning: `attrs_k' might be used uninitialized in this function
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/dcpyexpat.
> c: In function `initdcpyexpat':
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Shared/DC/xml/pyexpat/dcpyexpat.
> c:718: warning: unused variable `rev'
>
> ...anyone care to guess what's causing them and whether or not we should 
> worry?
>
> cheers,
>
> Chris
>
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders