Browse Source

more warning checking (mainly related to const strings).

Roberto Ierusalimschy 26 years ago
parent
commit
05f55cc062
1 changed files with 2 additions and 2 deletions
  1. 2 2
      makefile

+ 2 - 2
makefile

@@ -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