[sword-devel] #include <lzma.h> in xzcomprs.cpp - is this a bug or ?

Peter von Kaehne refdoc at gmx.net
Wed Nov 2 23:51:01 MST 2016


Leaving aside the question of a bug, xzcompress.cpp is experimental code. It is not included in any releases so far AFAIK and should not be compiled into releases or used by frontends. 

At least under autotools you need to ask to include it. 

We have no modules created with it and would currently not allow any either. The only currently used and acceptable compression is zip.

HTH

Peter
Sent from my phone. Apologies for brevity and typos.On 3 Nov 2016 02:50, TS <outofthecube at icloud.com> wrote:
>
> In xzcomprs.cpp, at line 30, there’s the code:
>
> #include <lzma.h>
>
> Xcode was not happy about this since there is no header named this. It seems that in the previous version of PocketSword, the fix was just to set Xcode as to not include this file when compiling so that’s what I’m doing too. Since the SWORD framework does not include lzma.h as a file, this seems like a bug to me, but perhaps there's a reason for it?
>
> I couldn’t find any reference regarding this matter in specific in the wiki or mailing list.
>
>
> -TS


More information about the sword-devel mailing list