aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-07-27 13:32:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-07-27 13:32:59 -0300
commit0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b (patch)
tree0ac634fed90877130b1f102bf4075af999de2158 /makefile
parent15231d4fb2f6984b25e0353ff46eda1a180b686d (diff)
downloadlua-0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b.tar.gz
lua-0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b.tar.bz2
lua-0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b.zip
Added gcc option '-Wconversion'
No warnings for standard numerical types. Still pending alternative numerical types.
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 58b12f8e..b37fdb28 100644
--- a/makefile
+++ b/makefile
@@ -14,11 +14,11 @@ CWARNSCPP= \
14 -Wdisabled-optimization \ 14 -Wdisabled-optimization \
15 -Wdouble-promotion \ 15 -Wdouble-promotion \
16 -Wmissing-declarations \ 16 -Wmissing-declarations \
17 -Wconversion \
17 # the next warnings might be useful sometimes, 18 # the next warnings might be useful sometimes,
18 # but usually they generate too much noise 19 # but usually they generate too much noise
19 # -Werror \ 20 # -Werror \
20 # -pedantic # warns if we use jump tables \ 21 # -pedantic # warns if we use jump tables \
21 # -Wconversion \
22 # -Wsign-conversion \ 22 # -Wsign-conversion \
23 # -Wstrict-overflow=2 \ 23 # -Wstrict-overflow=2 \
24 # -Wformat=2 \ 24 # -Wformat=2 \