[Zope-Coders] Warnings compiling the Zope HEAD on Linux
Chris Withers
chrisw@nipltd.com
Thu, 08 Aug 2002 09:13:51 +0100
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