浏览代码

more warning checking (mainly related to const strings).

Roberto Ierusalimschy 26 年之前
父节点
当前提交
05f55cc062
共有 1 个文件被更改,包括 2 次插入2 次删除
  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
 ## See Copyright Notice in lua.h
 #
@@ -28,7 +28,7 @@ CONFIG = -DPOPEN -D_POSIX_SOURCE
 
 # Compilation parameters
 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