On Sun, Oct 19, 2025 at 04:52:46PM +0200, Thibaut Cuvelier wrote:
> Hi all,

Hi Thibaut,

> Everytime I build LyX on Windows, that's with MSVC and I have a different
> set of warnings than with GCC or LLVM. Many of them are about type
> conversions, because MSVC doesn't use the same types underlying ptrdiff_t,
> size_t, and family. (Also, Clangd quite often triggers on the same lines
> for the same issues.) iconv and Hunspell also have their share of warnings,
> LyX is in good standing compared to them :).

I'm sorry for you since it seems annoying, but I'm glad that we have
someone compiling with MSVC and looking at the warnings since in my
opinion the more compilers we have the better.

> I don't think it's important to solve them in the short term (it's unlikely
> they cause any bug), but overall we tend to avoid having none of them :).
> 
> I'm attaching a full list of warnings (MSVC 14.44.35207, i.e. the latest
> one currently) and a patch that fixes some of them. Should I push it? Does
> it generate more warnings on other compilers?

I tested with your patch on GCC and Clang and compilation went well
here.

Scott

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to