Re: MSVC warnings when compiling Lua as C++
"'Sainan' via lua-l" <[email protected]> Wed, 29 Jul 2026 15:24:03 +0000
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <f_FklMcXFQ0rD7b6h_BbliBb1ICB7gWZ-uyf6RWnBPGrPhP4enDOeRL1kf7isCrl9r4HbS495MP3QJuptrl2Lw_fb6dJG_-h-at6IAkvpZs=@calamity.inc> |
Hmm, I guess MSVC wants you to be explicit about what result type you expec= t in this case. -#define sizenode(t) (twoto((t)->lsizenode)) +#define sizenode(t) (cast_int(twoto((t)->lsizenode))) This also suppresses it. --=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/f_Fkl= McXFQ0rD7b6h_BbliBb1ICB7gWZ-uyf6RWnBPGrPhP4enDOeRL1kf7isCrl9r4HbS495MP3QJup= trl2Lw_fb6dJG_-h-at6IAkvpZs%3D%40calamity.inc.