diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-03-31 11:47:31 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-03-31 11:47:31 -0300 |
| commit | b5c65705ca78560cd2735778737122ea5f858bd0 (patch) | |
| tree | b32b880738ea7be4d9621057eba2e5f4e683af0c /makefile | |
| parent | 7ca8105a2ea7b6a0d7b55b59d273ccd271c35268 (diff) | |
| download | lua-b5c65705ca78560cd2735778737122ea5f858bd0.tar.gz lua-b5c65705ca78560cd2735778737122ea5f858bd0.tar.bz2 lua-b5c65705ca78560cd2735778737122ea5f858bd0.zip | |
New year (2023)
Also, small tweak in makefile. (-Wsign-compare is already enabled by
-Wextra.)
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -8,7 +8,6 @@ CWARNSCPP= \ | |||
| 8 | -Wfatal-errors \ | 8 | -Wfatal-errors \ |
| 9 | -Wextra \ | 9 | -Wextra \ |
| 10 | -Wshadow \ | 10 | -Wshadow \ |
| 11 | -Wsign-compare \ | ||
| 12 | -Wundef \ | 11 | -Wundef \ |
| 13 | -Wwrite-strings \ | 12 | -Wwrite-strings \ |
| 14 | -Wredundant-decls \ | 13 | -Wredundant-decls \ |
| @@ -60,7 +59,7 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC) | |||
| 60 | 59 | ||
| 61 | # The following options help detect "undefined behavior"s that seldom | 60 | # The following options help detect "undefined behavior"s that seldom |
| 62 | # create problems; some are only available in newer gcc versions. To | 61 | # create problems; some are only available in newer gcc versions. To |
| 63 | # use some of them, we also have to define an enrivonment variable | 62 | # use some of them, we also have to define an environment variable |
| 64 | # ASAN_OPTIONS="detect_invalid_pointer_pairs=2". | 63 | # ASAN_OPTIONS="detect_invalid_pointer_pairs=2". |
| 65 | # -fsanitize=undefined | 64 | # -fsanitize=undefined |
| 66 | # -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare | 65 | # -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare |
