mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
New year (2023)
Also, small tweak in makefile. (-Wsign-compare is already enabled by -Wextra.)
This commit is contained in:
parent
7ca8105a2e
commit
b5c65705ca
3 changed files with 4 additions and 5 deletions
3
makefile
3
makefile
|
|
@ -8,7 +8,6 @@ CWARNSCPP= \
|
|||
-Wfatal-errors \
|
||||
-Wextra \
|
||||
-Wshadow \
|
||||
-Wsign-compare \
|
||||
-Wundef \
|
||||
-Wwrite-strings \
|
||||
-Wredundant-decls \
|
||||
|
|
@ -60,7 +59,7 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC)
|
|||
|
||||
# The following options help detect "undefined behavior"s that seldom
|
||||
# create problems; some are only available in newer gcc versions. To
|
||||
# use some of them, we also have to define an enrivonment variable
|
||||
# use some of them, we also have to define an environment variable
|
||||
# ASAN_OPTIONS="detect_invalid_pointer_pairs=2".
|
||||
# -fsanitize=undefined
|
||||
# -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue