| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Compiling timEd |
Fri 2007-03-09 02:59, andrew clarke (3:633/267) wrote to Martin Foster:
ac> Can you send me the full output? E-mail (preferred) or netmail is OK.
OK, I got your e-mail:
showhdr.c: At top level:
showhdr.c:151: error: static declaration of ???weekday_ab??? follows
non-static declaration
../xmsgapi/src/msgapi.h:407: error: previous declaration of ???weekday_ab??? was here
showhdr.c: In function ???MakeSubject???:
This is different to the previous error you showed me. (?)
Anyway, all the warnings prior to that you can just ignore for now,
although I suppose I may need to fix those eventually.
For a possible fix, try the change below, ie. delete four lines from
showhdr.c starting on line 151. (weekday_ab[] is already in msgapi.c in
XMSGAPI, so we don't need it again.)
$cvs diff -c
cvs server: Diffing .
Index: showhdr.c
===================================================================
RCS file: /cvsroot/timed/showhdr.c,v
retrieving revision 1.5
diff -c -r1.5 showhdr.c
*** showhdr.c 5 Dec 2003 05:19:18 -0000 1.5
--- showhdr.c 9 Mar 2007 16:08:19 -0000
***************
*** 148,158 ****
return a_string;
}
- static char weekday_ab[][4] =
- {
- "Sun", "Mon", "Tue", "Wed",
"Thu", "Fri", "Sat"
- };
-
char *MakeT(union stamp_combo *msgt, int type)
{
static char temp[50];
--- 148,153 ----
-- mail{at}ozzmosis.com
--- timEd/FreeBSD 1.11.b2
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)SEEN-BY: 633/260 267 @PATH: 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.