Linking error

José Abílio Matos jamatos at lyx.org
Wed Oct 14 16:50:15 UTC 2020


On Wednesday, October 14, 2020 4:37:18 PM WEST Richard Kimberly Heck wrote:
> I guess size_t must be unsigned long long on your machine? Can you try
> adding a template declaration for convert<unsigned long long> to
> support/convert.cpp?
> 
> Riki

It is already there:

#ifdef HAVE_LONG_LONG_INT
template<>
string convert<string>(unsigned long long ull)
{
        return lexical_cast<string>(ull);
}


template<>
docstring convert<docstring>(unsigned long long ull)
{
        return from_ascii(lexical_cast<string>(ull));
}
#endif

The question then becomes why it isn't HAVE_LONG_LONG_INT defined?
-- 
José Abílio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201014/5e9f8316/attachment.html>


More information about the lyx-devel mailing list