← Back to team overview

zorba-coders team mailing list archive

[Bug 866717] Re: Fedora warnings: language bindings

 

>>We try and keep the code warning free, but the compiler and python code 
keeps changing. If you have fairly strict compiler warnings turned on 
you are more likely to get warnings like the above. Post your gcc 
compiler warning flags being used and I'll take a look. 

http://old.nabble.com/Re%3A-wrapper-compiler-warnings-p30381963.html

** Changed in: zorba
     Assignee: Rodolfo Ochoa (rodolfo-ochoa) => Sorin Marian Nasoi (sorin.marian.nasoi)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866717

Title:
  Fedora warnings: language bindings

Status in Zorba - The XQuery Processor:
  Won't Fix

Bug description:
  swig/python/zorba_apiPYTHON_wrap.cxx: In function ‘PyTypeObject* _PySwigObject_type()’:
  swig/python/zorba_apiPYTHON_wrap.cxx:1846: warning: missing initializer for member ‘_typeobject::tp_version_tag’
  swig/python/zorba_apiPYTHON_wrap.cxx: In function ‘PyTypeObject* _PySwigPacked_type()’:
  swig/python/zorba_apiPYTHON_wrap.cxx:2021: warning: missing initializer for member ‘_typeobject::tp_version_tag’
  swig/python/zorba_apiPYTHON_wrap.cxx: In function ‘PyTypeObject* swig_varlink_type()’:
  swig/python/zorba_apiPYTHON_wrap.cxx:12032: warning: missing initializer for member ‘_typeobject::tp_version_tag’
  PHP Notice:  Use of undefined constant URIResolverResult_UR_FODC0002 - assumed 'URIResolverResult_UR_FODC0002' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_FODC0003 - assumed 'URIResolverResult_UR_FODC0003' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_FODC0004 - assumed 'URIResolverResult_UR_FODC0004' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_FODC0005 - assumed 'URIResolverResult_UR_FODC0005' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_XQST0088 - assumed 'URIResolverResult_UR_XQST0088' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_XQST0046 - assumed 'URIResolverResult_UR_XQST0046' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_XQST0059 - assumed 'URIResolverResult_UR_XQST0059' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_XQST0057 - assumed 'URIResolverResult_UR_XQST0057' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_FODC0002 - assumed 'URIResolverResult_UR_FODC0002' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_FODC0003 - assumed 'URIResolverResult_UR_FODC0003' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_FODC0004 - assumed 'URIResolverResult_UR_FODC0004' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_FODC0005 - assumed 'URIResolverResult_UR_FODC0005' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_XQST0088 - assumed 'URIResolverResult_UR_XQST0088' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_XQST0046 - assumed 'URIResolverResult_UR_XQST0046' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_XQST0059 - assumed 'URIResolverResult_UR_XQST0059' in swig/php/generate_proxy.php on line 108
  PHP Notice:  Use of undefined constant URIResolverResult_UR_XQST0057 - assumed 'URIResolverResult_UR_XQST0057' in swig/php/generate_proxy.php on line 108
  swig/php/zorba_apiPHP5_wrap.cxx:2118:1: warning: "SWIG_exception" redefined
  swig/php/zorba_apiPHP5_wrap.cxx:1131:1: warning: this is the location of the previous definition
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_swig_zorba_api_alter_newobject(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:1084: warning: unused variable ‘thisown’
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_createEmptyItem(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:2376: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_Item(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3179: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_Item(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3212: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_Iterator(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3401: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_Iterator(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3434: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_XQuery(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3725: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_XQuery(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3758: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_Store(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3790: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_Store(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3823: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_InMemoryStore_getInstance(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3856: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_InMemoryStore(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3924: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_InMemoryStore(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3957: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_XmlDataManager(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4090: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_XmlDataManager(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4123: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_ZorbaException_getErrorCodeAsString(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4326: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_ZorbaException(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4359: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_QueryException(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4512: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_SystemException(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4545: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_DynamicException(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4578: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_SerializationException(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4611: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_StaticException(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4644: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_TypeException(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4677: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_UserException(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4710: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_ErrorHandler(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4743: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_ErrorHandler(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:5033: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_CompilerHints(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:5233: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_CompilerHints(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:5266: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_StaticContext(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6969: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_StaticContext(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:7002: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_URIResolverResult(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:7034: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_URIResolverResult(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:7067: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_DocumentURIResolverResult(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:7271: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_new_Zorba(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:7865: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void __wrap_delete_Zorba(zend_rsrc_list_entry*, const char*)’:
  swig/php/zorba_apiPHP5_wrap.cxx:7898: warning: label ‘fail’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx: At global scope:
  swig/php/zorba_apiPHP5_wrap.cxx:8135: warning: missing initializer for member ‘_zend_function_entry::num_args’
  swig/php/zorba_apiPHP5_wrap.cxx:8135: warning: missing initializer for member ‘_zend_function_entry::flags’
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_getBooleanValue(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:2546: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_QueryException_getColumnBegin(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4367: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_QueryException_getLineBegin(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4407: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_getIntValue(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:2668: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_getConstructionMode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:5735: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_getUnsignedIntValue(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:2915: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_isNode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3035: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_isNull(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3075: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_ZorbaException_getErrorCode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4171: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_ZorbaException_getFileLineNumber(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4212: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_isAtomic(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:2955: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_isNaN(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:2995: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_getOrderingMode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6090: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_isPosOrNegInf(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3115: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_getDefaultOrderForEmptySequences(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:5945: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_getRevalidationMode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6171: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_getBoundarySpacePolicy(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:5694: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_getXPath1_0CompatibMode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6212: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_setConstructionMode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6476: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_setDefaultOrderForEmptySequences(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6721: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_setXPath1_0CompatibMode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6862: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_setBoundarySpacePolicy(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6428: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_setOrderingMode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6769: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Iterator_next(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:3258: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_Item_getNodeName(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:2789: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_setCopyNamespacesMode(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6526: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_setBaseURI(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6380: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_containsFunction(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:5417: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_XmlDataManager_deleteDocument(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:4020: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_addNamespace(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:5323: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_setDefaultElementAndTypeNamespace(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6625: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_setDefaultFunctionNamespace(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6673: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: In function ‘void _wrap_StaticContext_getOption(int, zval*, zval**, zval*, int)’:
  swig/php/zorba_apiPHP5_wrap.cxx:6037: warning: ‘result’ may be used uninitialized in this function
  swig/php/zorba_apiPHP5_wrap.cxx: At global scope:
  swig/php/zorba_apiPHP5_wrap.cxx:823: warning: ‘void SWIG_landfill(zend_rsrc_list_entry*)’ defined but not used
  swig/php/zorba_apiPHP5_wrap.cxx:1072: warning: ‘void zorba_api_destroy_globals(zend_zorba_api_globals*)’ defined but not used

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866717/+subscriptions