Compiling Lop 1.44b, errors.
< Newer Topic
:: Older Topic >
Pages:<< prev 1 next >>
#1 Nov 16, 2014 7:28 pm
GroupMembers
Posts11
JoinedMay 26, 2011
Hi! Someone can help me?
Compiling o/act_comm.o....
In file included from act_comm.c:25:0:
act_comm.c: En la función ‘int countlangs(EXT_BV)’:
h/mud.h:1731:41: error: expected primary-expression before ‘)’ token
#define xIS_SET( var, bit ) ( (var).bits[(bit) >> RSV] & 1 << ( (bit) & XBM ) )
^
act_comm.c:2248:11: nota: in expansion of macro ‘xIS_SET’
if( xIS_SET( languages, lang_array[looper] ) )
^
Makefile:121: recipe for target 'o/act_comm.o' failed
make[1]: *** [o/act_comm.o] Error 1
Thanks!
Compiling o/act_comm.o....
In file included from act_comm.c:25:0:
act_comm.c: En la función ‘int countlangs(EXT_BV)’:
h/mud.h:1731:41: error: expected primary-expression before ‘)’ token
#define xIS_SET( var, bit ) ( (var).bits[(bit) >> RSV] & 1 << ( (bit) & XBM ) )
^
act_comm.c:2248:11: nota: in expansion of macro ‘xIS_SET’
if( xIS_SET( languages, lang_array[looper] ) )
^
Makefile:121: recipe for target 'o/act_comm.o' failed
make[1]: *** [o/act_comm.o] Error 1
Thanks!
#2 Nov 17, 2014 3:12 pm
GroupAdministrators
Posts1,946
JoinedJul 26, 2005
Can you post your function for int countlangs in act_comm.c? what compiler and version will also be helpful, thanks
Pages:<< prev 1 next >>