[sword-devel] av11n ... weird results

Matěj Cepl mcepl at redhat.com
Sat Aug 10 08:09:59 MST 2013


On 08/05/2013 08:58 PM, Troy A. Griffitts wrote:
> Not sure.  I wonder if the tools which use the bindings need to be
> updated to call the new method names like: popError() instead of
> Error().  My first guess, though I would have thought you would have
> received an error instead of the output you posted.
> 
> I just added a swig construct to both SWBuf and SWKey to allow them to
> be printed (i.e.cast to a string in the target language). Hope this
> helps clean up some of the binding syntax.

These warnings (shouldn't they be errors?) don’t fill me with hope.

matej at wycliff: package (master %)$ make pythonswig
mkdir -p python
/usr/bin/swig -python -c++ -shadow -o python/Sword.cxx -I.
-I/usr/include/sword   ./sword.i
/usr/include/sword/versificationmgr.h:125: Warning 325: Nested class not
currently supported (Book ignored)
/usr/include/sword/versificationmgr.h:150: Warning 325: Nested class not
currently supported (System ignored)
/usr/include/sword/treekey.h:62: Warning 325: Nested class not currently
supported (PositionChangeListener ignored)
/usr/include/sword/versetreekey.h:41: Warning 402: Base class
'TreeKey::PositionChangeListener' is incomplete.
/usr/include/sword/treekey.h:62: Warning 402: Only forward declaration
'TreeKey::PositionChangeListener' was found.
/usr/include/sword/versificationmgr.h:45: Warning 451: Setting a const
char * variable may leak memory.
/usr/include/sword/versificationmgr.h:55: Warning 451: Setting a const
char * variable may leak memory.
/usr/include/sword/swmgr.h:161: Warning 451: Setting a const char *
variable may leak memory.
/usr/include/sword/swmgr.h:162: Warning 451: Setting a const char *
variable may leak memory.
/usr/include/sword/swmgr.h:163: Warning 451: Setting a const char *
variable may leak memory.
/usr/include/sword/swmgr.h:164: Warning 451: Setting a const char *
variable may leak memory.
/usr/include/sword/swmgr.h:165: Warning 451: Setting a const char *
variable may leak memory.
/usr/include/sword/swmgr.h:169: Warning 451: Setting a const char *
variable may leak memory.
/usr/include/sword/swlocale.h:74: Warning 451: Setting a const char *
variable may leak memory.
rendercallback.h:23: Warning 451: Setting a const char * variable may
leak memory.
matej at wycliff: package (master %)$

Couldn't these be the root cause of the problem?

Blessings,

Matěj

-- 
http://www.ceplovi.cz/matej/, Jabber: mcepl at ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

<"}}}><

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 255 bytes
Desc: OpenPGP digital signature
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20130810/bb145798/attachment.sig>


More information about the sword-devel mailing list