Skip to content
Snippets Groups Projects
Commit cf2bca0d authored by Juan Carrano's avatar Juan Carrano Committed by Juan I Carrano
Browse files

pkg/lua: Suppress warnings on discarded qualifiers.

Upstream lua has many instances of discarding cont qualifiers through
explicit casting. This disables the warnigns for the package so that
they don't show up when one enables -Wno-cast-qual globally.
parent aa784b5e
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,11 @@ endif ...@@ -6,6 +6,11 @@ endif
CFLAGS += -DLUA_MAXCAPTURES=16 -DL_MAXLENNUM=50 CFLAGS += -DLUA_MAXCAPTURES=16 -DL_MAXLENNUM=50
# Upstream has several of these warnings which will not be fixed: because it
# would require a big refactor and because the lua developers do not accept
# patches.
CFLAGS += -Wno-cast-qual
# Enable these options to debug stack usage # Enable these options to debug stack usage
# -Wstack-usage=128 -Wno-error=stack-usage=128 # -Wstack-usage=128 -Wno-error=stack-usage=128
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment