Am 16.08.2020 um 21:00 schrieb Stephan Witt <st.w...@gmx.net>:
> 
> Am 16.08.2020 um 19:23 schrieb Thibaut Cuvelier <tcuvel...@lyx.org>:
>> 
>> Hi,
>> 
>> I just tried to compile the latest version of the code with Visual C++. 
>> However, it chokes on line 1637 of InsetMathGrid.cpp: 
>> 
>> error C3861: 'uint': identifier not found
>> 
>> Here is my (simple) fix, in bold (formal patch attached): 
>> pos_type ipos = pos_type(cur.pos()) > cell(i).size()
>> I preferred not to commit this directly, in case other compilers do not like 
>> this version…
>> <0001-Fix-compilation.patch>— 
> 
> Why these cast at all?
> 
> cur.pos() is returning a pos_type, AFAICS.

This patch works with clang and avoids a type mismatch warning for signed vs 
unsigned typed values comparison.

Stephan 

Attachment: patch.diff
Description: Binary data

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

Reply via email to