Re: MSVC warnings when compiling Lua as C++

"'Sainan' via lua-l" <[email protected]> Thu, 30 Jul 2026 16:59:12 +0000
Newsgroups gmane.comp.lang.lua.general
Message-ID <NI9GVSmTOsn1hNSQ0rpqOoyqd9pKdKJWInvowDLaI905ymTrZ5g8d1VherKvBHmSGyCy9XLh18LeQIM0RDUliuKIEt_mrcq20kKa2bAN8w0=@calamity.inc>
> If adding a cast to int stops the warning, maybe we won't need this other=
 cast anymore.

Indeed. Removing the cast_sizet does not cause a warning as long as sizenod=
e uses cast_int or cast_uint.

--=C2=A0Sainan

--=20
You received this message because you are subscribed to the Google Groups "=
lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/NI9GV=
SmTOsn1hNSQ0rpqOoyqd9pKdKJWInvowDLaI905ymTrZ5g8d1VherKvBHmSGyCy9XLh18LeQIM0=
RDUliuKIEt_mrcq20kKa2bAN8w0%3D%40calamity.inc.