[sword-devel] Build error

Greg Hellings greg.hellings at gmail.com
Thu Jul 9 14:08:21 EDT 2020


Troy,

I'm getting the following build error from Sword since your update for the
__u64 stuff:

/root/sword/examples/cmdline/search.cpp:137:43: error: __u64 was not
declared in this scope
if (k->userData) std::cout << " : " << (__u64)k->userData << "%";
^~~~~
/root/sword/examples/cmdline/search.cpp:137:43: note: suggested
alternative: SW_u64
if (k->userData) std::cout << " : " << (__u64)k->userData << "%";
^~~~~
SW_u64

Did you miss a spot, or do you need to include a header here for
typecasting?

--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20200709/8f6eaa40/attachment.html>


More information about the sword-devel mailing list