Compilation bug fix: ISO C90 forbids mixed declarations and code

This commit is contained in:
tomas
2007-05-15 12:58:35 +00:00
parent 8033232c92
commit 7ee2d8e1b2
2 changed files with 5 additions and 4 deletions

4
config
View File

@@ -11,9 +11,9 @@ LIB_OPTION= -shared #for Linux
LIBNAME= $T.so.$V
# Compilation directives
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
INCS= -I$(LUA_INC)
CFLAGS= $(WARN) $(INCS)
CC= gcc
# $Id: config,v 1.18 2006/12/15 18:04:50 mascarenhas Exp $
# $Id: config,v 1.19 2007/05/15 12:58:35 tomas Exp $