This is a classic problem on OSX, where size_t are not silently casted to uint64_t.
I pushed an explicit cast. Let me know if it fixes it.
I'm suprised nobody caught this one earlier. Pascal has been fixing numerous such casts issues for
Le 26/09/2018 à 18:22, Mark Giesbrecht a écrit :
> I’m getting a build error for LinBox on OSX, pulling the latest src from GitHub (with very recently
> pulled and built Givaro and FFLAS-FFPack)
> First error is:
> In file included from ../../linbox/algorithms/block-massey-domain.h:42:
> *../../linbox/algorithms/polynomial-matrix/order-basis.h:617:42: **error: **ambiguous conversion for
> functional-style cast from 'size_t' (aka 'unsigned long') to 'LinBox::integer' (aka 'Givaro::Integer')*
> size_t log_order=integer(order).bitsize();
> Only happens on OSX; linux builds are fine.
> Any thoughts?
> Dr. Mark Giesbrecht, Professor
> David R. Cheriton School of Computer Science, University of Waterloo, Canada
> You received this message because you are subscribed to the Google Groups "linbox-use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> To post to this group, send email to linbo...@googlegroups.com
> Visit this group at https://groups.google.com/group/linbox-use
> For more options, visit https://groups.google.com/d/optout