Re: [sword-devel] swld.cpp at line 111 - is this a bug?

2016-10-11 Thread Jaak Ristioja
On 12.10.2016 09:37, Manfred Bergmann wrote: >> On 12.10.2016 01:08, TS wrote: >>> Xcode was warning me that in PocketSword's Sword framework, swld.cpp at >>> line 111 with >>> >>> "delete buf;" >>> may be wrong and it should perhaps be >>> >>> "delete[] buf;" >>> instead. Is this correct? I looked

Re: [sword-devel] swld.cpp at line 111 - is this a bug?

2016-10-11 Thread Manfred Bergmann
> Am 12.10.2016 um 01:34 schrieb Jaak Ristioja : > > Hi! > > On 12.10.2016 01:08, TS wrote: >> Xcode was warning me that in PocketSword's Sword framework, swld.cpp at >> line 111 with >> >> "delete buf;" >> may be wrong and it should perhaps be >> >> "delete[] buf;" >> instead. Is this correct

Re: [sword-devel] swld.cpp at line 111 - is this a bug?

2016-10-11 Thread Jaak Ristioja
Hi! On 12.10.2016 01:08, TS wrote: > Xcode was warning me that in PocketSword's Sword framework, swld.cpp at > line 111 with > > "delete buf;" > may be wrong and it should perhaps be > > "delete[] buf;" > instead. Is this correct? I looked at the code and I think Xcode is > correct in that the v

Re: [sword-devel] How can I tell which version of the Sword framework is being used? (e.g. in PocketSword)

2016-10-11 Thread Greg Hellings
There should be a file, include/swversion.h or the like, that will tell you. But PocketSword maintains a dose of patches against the library, if memory serves, so you won't find an exact match with the stated version. But that file should give you the information you're looking for. --Greg On Tue

[sword-devel] How can I tell which version of the Sword framework is being used? (e.g. in PocketSword)

2016-10-11 Thread TS
Hi, How can I tell which version of the Sword framework is being used? ( e.g. in PocketSword.) I've done a search of the code and some comparison to two different versions of the framework, but nether version 1.7.5 nor 1.6.2 seem to match. Is there a place where it's stated? -TS _

[sword-devel] swld.cpp at line 111 - is this a bug?

2016-10-11 Thread TS
Hi, Xcode was warning me that in PocketSword's Sword framework, swld.cpp at line 111 with "delete buf;" may be wrong and it should perhaps be "delete[] buf;" instead. Is this correct? I looked at the code and I think Xcode is correct in that the variable is an array and needs the brackets to

Re: [sword-devel] Announcing Sword++

2016-10-11 Thread Konstantin Maslyuk
I would like API that you can't even thought to make wrapper around that. It is not healthy thing to make wrapper around API for convenience of fixing when it becomes broken or deprecated. And I want to keep fewer chain links in system, spend my energy on something useful for anyone else but me.