29 Mar, 2009, xxCaliburxx wrote in the 1st comment:
Votes: 0
I added a channel to my MUD. (The guide I'm learning from said to edit tables.c, however when I went into tables.c there was nothing added in there for the other channels so i didn't do anything for the sake of breaking something.)
I went into my compilter, typed make clean, then make, and I got this error.
In file included from tables.c:18: /usr/include/stdio.h:30: error: expected constructor, destructor, or type conversion before 'extern' In file included from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/typeinfo:39, from mud.h:25, from tables.c:27: /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/exception:40: error: expected declaration before end of line
I don't know whether this is a shell issue and I have to contact the server admin, or if I do need to edit something in tables.c
I went into my compilter, typed make clean, then make, and I got this error.
In file included from tables.c:18:
/usr/include/stdio.h:30: error: expected constructor, destructor, or type conversion before 'extern'
In file included from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/typeinfo:39,
from mud.h:25,
from tables.c:27:
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/exception:40: error: expected declaration before end of line
I don't know whether this is a shell issue and I have to contact the server admin, or if I do need to edit something in tables.c