<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I’m also having tons of warnings when compiling SWORD in Xcode for 64 bit.</div><div class="">The precision warnings can be ignored IMO. But due to the sheer number of warnings it’s very hard to detect warnings that shouldn’t be ignored.</div><div class=""><br class=""></div><div class="">Btw: there is a Objective-C wrapper for the SWORD library under bindings/objc which I maintain and use in Eloquent.</div><div class="">AFAIK some form of the wrapper in used in PS.</div><div class="">It would be great if efforts could be shared in using only one codebase.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Manfred</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">Am 13.10.2016 um 22:30 schrieb TS <<a href="mailto:outofthecube@icloud.com" class="">outofthecube@icloud.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class=""> So, Xcode gives me hundreds of warnings when I try to build for 64 bit mode. I've also tried searching the mailing list so I see that some people earlier in the year may be have seen the same warnings (for PocketSword), so I think I better understand why I've seen that some of the libraries were updated(I don't know if all were updated or ?). However, I'm still getting errors and some of it is in the Sword framework. My impression so far of what's going on is that Xcode is telling me is that there are datatypes which are not being converted properly. I think this is happening due to things like "int" and "long" not occupying the same amount of space or something like they use to do in 32 bit and so need a casting in order to be converted properly? </div><div class=""> An example is listkey.h at line 147 in which "index" is a "long", but then setToElement is for an "int". </div><div class=""> Another is swbuf.h at line 448 "...<span data-mce-style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2;" style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2;" class="">const</span><span data-mce-style="font-variant-ligatures: no-common-ligatures;" style="font-variant-ligatures: no-common-ligatures;" class=""> { </span><span data-mce-style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2;" style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2;" class="">unsigned</span><span data-mce-style="font-variant-ligatures: no-common-ligatures;" style="font-variant-ligatures: no-common-ligatures;" class=""> </span><span data-mce-style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2;" style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2;" class="">int</span><span data-mce-style="font-variant-ligatures: no-common-ligatures;" style="font-variant-ligatures: no-common-ligatures;" class=""> psize = </span><span data-mce-style="font-variant-ligatures: no-common-ligatures; color: #3d1d81;" style="font-variant-ligatures: no-common-ligatures; color: #3d1d81;" class="">strlen</span><span data-mce-style="font-variant-ligatures: no-common-ligatures;" style="font-variant-ligatures: no-common-ligatures;" class="">(postfix); ..." <span style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" data-mce-style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" class="">where Xcode warns that there's a loss of precision. That an unsigned long is converting to an unsigned int. I think that unsigned long occupies 64 bits when run in 64 bit mode, but the int stays in 32 bits when run in 64 bit mode.</span></span></div><div class=""><span data-mce-style="font-variant-ligatures: no-common-ligatures;" style="font-variant-ligatures: no-common-ligatures;" class=""><span style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" data-mce-style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" class=""> I have compared the Sword framework that it's using against the last stable one and there's doesn't seem to be changes to address the issues I'm seeing.</span></span></div><div class=""><span data-mce-style="font-variant-ligatures: no-common-ligatures;" style="font-variant-ligatures: no-common-ligatures;" class=""><span style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" data-mce-style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" class=""> Any suggestions on how to proceed?</span></span></div><div class=""><span data-mce-style="font-variant-ligatures: no-common-ligatures;" style="font-variant-ligatures: no-common-ligatures;" class=""><span style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" data-mce-style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" class=""><br data-mce-bogus="1" class=""></span></span></div><div class=""><span data-mce-style="font-variant-ligatures: no-common-ligatures;" style="font-variant-ligatures: no-common-ligatures;" class=""><span style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" data-mce-style="font-size: 15px; font-family: 'Helvetica Neue', Helvetica, sans-serif;" class="">-TS</span></span></div></div>_______________________________________________<br class="">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" class="">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br class="">Instructions to unsubscribe/change your settings at above page</div></blockquote></div><br class=""></body></html>