Re: MSVC warnings when compiling Lua as C++

Roberto Ierusalimschy <[email protected]> Thu, 30 Jul 2026 13:24:23 -0300
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
> > Maybe there would be some value in using int32_t, uint32_t, int64_t, etc. 
> when C99 is available.
> 
> it is a good idea to use proper stdint types even without C99,
> 
> and then "backport" it to C89 if needed in luaconf.h

Note that all these types (exact-width integer types) are optional in C99.
We should use int_least32_t, uint_least32_t, int_least64_t, etc.

-- Roberto

-- 
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 email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/20260730162423.GB11249%40arraial.inf.puc-rio.br.