Hi, I'm Trying to Compile lop 1.40 and get the Following Errors:
$ make
make -s lop
Compiling o/imc.o....
imc.c: En la función ‘bool imc_startup_network(bool)’:
imc.c:4831:8: error: se define la variable ‘fscanned’ pero no se usa [-Werror=unused-but-set-variable]
int fscanned;
^
cc1plus: todos los avisos se tratan como errores
Makefile:121: recipe for target 'o/imc.o' failed
make[1]: *** [o/imc.o] Error 1
Makefile:69: recipe for target 'all' failed
make: *** [all] Error 2
How I can fix this?
pd. sorry for the subject, my error
Thanks!
now there is new errors:
make -s lop
Compiling o/imc.o....
Compiling o/act_comm.o....
act_comm.c: En la función ‘void do_say(CHAR_DATA*, char*)’:
act_comm.c:429:11: error: la declaración de ‘actflags’ oscurece a una declaración global [-Werror=shadow]
EXT_BV actflags;
^
In file included from h/mud.h:59:0,
from act_comm.c:25:
h/const.h:469:3: error: aquí está la declaración oscurecida [-Werror=shadow]
} actflags;
^
act_comm.c: En la función ‘void do_gemote(CHAR_DATA*, char*)’:
act_comm.c:1187:11: error: la declaración de ‘actflags’ oscurece a una declaración global [-Werror=shadow]
EXT_BV actflags;
^
In file included from h/mud.h:59:0,
from act_comm.c:25:
h/const.h:469:3: error: aquí está la declaración oscurecida [-Werror=shadow]
} actflags;
^
act_comm.c: En la función ‘void do_emote(CHAR_DATA*, char*)’:
act_comm.c:1241:11: error: la declaración de ‘actflags’ oscurece a una declaración global [-Werror=shadow]
EXT_BV actflags;
^
In file included from h/mud.h:59:0,
from act_comm.c:25:
h/const.h:469:3: error: aquí está la declaración oscurecida [-Werror=shadow]
} actflags;
^
act_comm.c: En la función ‘int countlangs(EXT_BV)’:
act_comm.c:2241:34: error: la declaración de ‘languages’ oscurece a una declaración global [-Werror=shadow]
int countlangs( EXT_BV languages )
^
In file included from h/mud.h:59:0,
from act_comm.c:25:
h/const.h:155:3: error: aquí está la declaración oscurecida [-Werror=shadow]
} languages;
^
cc1plus: todos los avisos se tratan como errores
Makefile:121: recipe for target 'o/act_comm.o' failed
make[1]: *** [o/act_comm.o] Error 1
Makefile:69: recipe for target 'all' failed
make: *** [all] Error 2