[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: strange warnings
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 9 Jun 2011 12:30:54 -0300
When compiling Lua 5.1.4 with gcc (version 4.4.3) with option
-Wstrict-overflow=2, I get two warnings that I cannot understand:
lvm.c: In function ‘luaV_concat’:
lvm.c:300: warning: assuming signed overflow does not occur when simplifying conditional to constant
lua.c: In function ‘pmain’:
lua.c:353: warning: assuming signed overflow does not occur when simplifying conditional to constant
Does anyone have a clue about the cause of these warnings and/or how
to remove them? (The question is not about that kind of warning in
general, but why gcc signals it in these two specific cases.)
-- Roberto