Re: MSVC warnings when compiling Lua as C++
Francisco Olarte <[email protected]> Thu, 30 Jul 2026 09:05:29 +0200
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <CA+bJJbyFNa3oAj4osuuznsq-FvFSZmKxByhGuX7arvn4evTcpg@mail.gmail.com> |
On Thu, 30 Jul 2026 at 06:55, bil til <[email protected]> wrote: > > This was the typical nasty (and from my point of view quite ingenious) > trick of MSVS-C++, when they introduced 64 bit Windows. They kept the > "int" to be 32 bit. IIRC the "natural" and faster int for X86-64 is 32, 64 bits needs a prefix and is sometimes slower ( think DIV/IDIV ). So, not a trick. The trick was *ix programmers assuming everywhere pointer and int round trip (been there, done that, patched it to int typedefs, std now, compiler specific back then ). Francisco Olarte. -- 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/CA%2BbJJbyFNa3oAj4osuuznsq-FvFSZmKxByhGuX7arvn4evTcpg%40mail.gmail.com.