more warning checking (mainly related to const strings).

This commit is contained in:
Roberto Ierusalimschy 1999-08-17 17:21:52 -03:00
parent c787dccd9b
commit 05f55cc062

View File

@ -1,5 +1,5 @@
# #
## $Id: makefile,v 1.18 1999/02/23 15:01:29 roberto Exp roberto $ ## $Id: makefile,v 1.19 1999/02/24 21:31:03 roberto Exp roberto $
## Makefile ## Makefile
## See Copyright Notice in lua.h ## See Copyright Notice in lua.h
# #
@ -28,7 +28,7 @@ CONFIG = -DPOPEN -D_POSIX_SOURCE
# Compilation parameters # Compilation parameters
CC = gcc CC = gcc
CWARNS = -Wall -Wmissing-prototypes -Wshadow -pedantic -Wpointer-arith -Wcast-align -Waggregate-return CWARNS = -Wall -Wmissing-prototypes -Wshadow -pedantic -Wpointer-arith -Wcast-align -Waggregate-return -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-declarations -Wnested-externs
CFLAGS = $(CONFIG) $(CWARNS) -ansi -O2 CFLAGS = $(CONFIG) $(CWARNS) -ansi -O2