On 10/14/20 12:50 PM, José Abílio Matos wrote:

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?

It's the other way that's needed here:

template<>
unsigned long long convert<unsigned long long>(string const & s)

{

return strtoull(s);

}


I assume that will fix it.


Riki


-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to