Sphynx,
Can you show us lines 2379 and 2355 of comm.c?
Redefined functions can mean this, for instance:
comm.c, line 200:
void page_to_char args( ( const char *txt, CHAR_DATA *ch ) );
comm.c, line 300:
void page_to_char args( ( const char *txt, CHAR_DATA *ch ) );
Or, more likely, two functions with the same name.
If the definition of the function looks anything like the above--just a
single line of text followed by a ;, then I'd recommend adding the line
somewhere in merc.h. Actually, the definition should already exist in
merc.h. Are there two actual functions in comm.c named page_to_char?
Maybe one of them should be called something else--I believe Lope's
installs a black and white version of page_to_char. Post lines 2379 and
2355 of comm.c. If they are in fact functions, posting the entire
functions wouldn't hurt.
[EMAIL PROTECTED] wrote:
I just started up basic Rom 2.4b6 and I am trying to insert Lope's color code.
So I toss it in, patch over and all, and now I am coming up with an error when
I compile in my comm.c file. The error is:
comm.c:2379 redefinition of 'page_to_char'
comm.c:2355 'page_to_char' previously defined here
I am new to coding and not sure what to do about this. I went in and looked at
both lines, and they are identical, which I assume is why it says it was
previously defined. The notes also state that they are both responsible for
sending a page to a character, so does that mean I have two functions doing the
same thing? I tried deleting the first function, that just made more errors in
a different file, and taking out the first definition of page_to_char generates
errors as well. Could someone help me out and maybe give me a little info on
what this error means so I will know how to correct it in the future?
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp