| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Diff. |
Hi All
I just maked maximus compile under GCC 4.0, here is the diff, i'll apply
it to the cvs tomorrow
Index: max/cppmain.cc
===================================================================
RCS file: /cvsroot/maximus/maximus/max/cppmain.cc,v
retrieving revision 1.3
diff -r1.3 cppmain.cc
28,29c28,31
< extern "C" c_main(int argc, char *argv[]);
< extern "C" unsigned far _ovl_openflags(unsigned sharing_mode);
___
> extern "C" {
> int _stdc c_main(int argc, char *argv[]);
> unsigned far _ovl_openflags(unsigned sharing_mode);
> }
Index: max/max_v.h
===================================================================
RCS file: /cvsroot/maximus/maximus/max/max_v.h,v
retrieving revision 1.8
diff -r1.8 max_v.h
199c199
< extrn char mem_nmsgb[] IS("!NOT ENOUGH MEMORY FOR MESSAGE BUFFER
(function: "
__FUNCTION__ " )");
___
> extrn char mem_nmsgb[] IS("!NOT ENOUGH MEMORY FOR MESSAGE BUFFER");
Index: max/xspawn.c
===================================================================
RCS file: /cvsroot/maximus/maximus/max/xspawn.c,v
retrieving revision 1.3
diff -r1.3 xspawn.c
80c80
< fprintf(stderr, __FUNCTION__ ": Child (%s) exited due to signal
%i!\n", Cfile, WSTOPSIG(status));
___
> fprintf(stderr, "%s: Child (%s) exited due to signal %i!\n",
__FUNCTION__, Cfile, WSTOPSIG(status));
Index: mex/vm_heap.c
===================================================================
RCS file: /cvsroot/maximus/maximus/mex/vm_heap.c,v
retrieving revision 1.5
diff -r1.5 vm_heap.c
63c63
< printf(__FUNCTION__ " bar\n");
___
> printf("%s bar\n", __FUNCTION__);
174c174
< printf(__FUNCTION__ " foo\n");
___
> printf("%s foo\n", __FUNCTION__);
Index: mex/vm_read.c
===================================================================
RCS file: /cvsroot/maximus/maximus/mex/vm_read.c,v
retrieving revision 1.3
diff -r1.3 vm_read.c
34c34
< static void NoMem(void)
___
> void NoMem(void)
Index: prot/zm.c
===================================================================
RCS file: /cvsroot/maximus/maximus/prot/zm.c,v
retrieving revision 1.4
diff -r1.4 zm.c
124,125c124,125
< static int Rxframeind; /* ZBIN ZBIN32, or ZHEX type of frame
received */
< static int Rxtype; /* Type of header received */
___
> int Rxframeind; /* ZBIN ZBIN32, or ZHEX type of frame received */
> int Rxtype; /* Type of header received */
Index: unix/process.c
===================================================================
RCS file: /cvsroot/maximus/maximus/unix/process.c,v
retrieving revision 1.6
diff -r1.6 process.c
67c67
< fprintf(stderr, __FUNCTION__ ": Child (%s) exited due to signal
%i!\n", Cfile, WSTOPSIG(status));
___
> fprintf(stderr, "%s : Child (%s) exited due to signal %i!\n",
__FUNCTION__, Cfile, WSTOPSIG(status));
85c85
< fprintf(stderr, __FUNCTION__ ": could not spawn %s! (%s)\n", file,
strerror(errno));
___
> fprintf(stderr, "%s : could not spawn %s! (%s)\n",
__FUNCTION__, file,
strerror(errno));
Index: util/maid.c
===================================================================
RCS file: /cvsroot/maximus/maximus/util/maid.c,v
retrieving revision 1.5
diff -r1.5 maid.c
52c52,53
< static char *version=VERSION;
___
> /* Huh? Static doesn't work ... */
> char *version=VERSION;
Regards,
Bo
... MultiMail, the new multi-platform, multi-format offline reader!
___ MultiMail/Linux v0.46
--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)SEEN-BY: 3/0 633/267 640/954 712/0 313 550 620 848 @PATH: 106/2000 140/1 138/146 392 123/500 261/38 712/848 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™.