[sword-devel] Build error

Troy A. Griffitts scribe at crosswire.org
Fri Jul 10 05:34:13 EDT 2020


Yep, I overlooked the examples.  My apologies.  Fixed.

I will remember to build the examples with my refactor commits.

Thanks for catching this,

Troy


On 7/9/20 8:08 PM, Greg Hellings wrote:
> 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
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20200710/92784429/attachment.html>


More information about the sword-devel mailing list