x86_64, gcc version (Debian 14.2.0-19) 14.2.0.
Vanilla Lua dev head (commit 9a3940380a2a) compiles without warnings, however
changing `-O2` to `-O3` in the makefile causes the following warning:
```
gcc -Wall -O3 -Wfatal-errors -Wextra -Wshadow -Wundef -Wwrite-strings -Wredundant-decls -Wdisabled-optimization -Wdouble-promotion -Wmissing-declarations -Wconversion -Wstrict-overflow=2 -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wc++-compat -Wold-style-definition -Wlogical-op -Wno-aggressive-loop-optimizations -std=c99 -DLUA_USE_LINUX -fno-stack-protector -fno-common -march=native -c -o ldo.o ldo.c
ldo.c: In function ‘luaD_reallocstack’:
ldo.c:303:5: warning: assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow]
303 | int luaD_reallocstack (lua_State *L, int newsize, int raiseerror) {
| ^~~~~~~~~~~~~~~~~
```
-- David
--
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 lua-l+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lua-l/20250902144255.GC1151265%40arraial.inf.puc-rio.br.