diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-27 13:32:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-27 13:32:59 -0300 |
commit | 0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b (patch) | |
tree | 0ac634fed90877130b1f102bf4075af999de2158 /makefile | |
parent | 15231d4fb2f6984b25e0353ff46eda1a180b686d (diff) | |
download | lua-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-- | makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |