mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
Added gcc option '-Wconversion'
No warnings for standard numerical types. Still pending alternative numerical types.
This commit is contained in:
parent
15231d4fb2
commit
0acd55898d
44 changed files with 398 additions and 359 deletions
2
makefile
2
makefile
|
|
@ -14,11 +14,11 @@ CWARNSCPP= \
|
|||
-Wdisabled-optimization \
|
||||
-Wdouble-promotion \
|
||||
-Wmissing-declarations \
|
||||
-Wconversion \
|
||||
# the next warnings might be useful sometimes,
|
||||
# but usually they generate too much noise
|
||||
# -Werror \
|
||||
# -pedantic # warns if we use jump tables \
|
||||
# -Wconversion \
|
||||
# -Wsign-conversion \
|
||||
# -Wstrict-overflow=2 \
|
||||
# -Wformat=2 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue