mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
Compilation bug fix: ISO C90 forbids mixed declarations and code
This commit is contained in:
4
config
4
config
@@ -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 $
|
||||
|
||||
Reference in New Issue
Block a user