TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Andrew Clarke
from: Mvan Le
date: 2010-02-01 20:58:08
subject: Successfully compiled Maximus 3.02

ac> On Sun 2010-01-31 00:18, Mvan Le (3:800/432) wrote to All:

 ML> I have successfully compiled all Maximus 3.02 overlayed DOS and
 ML> Win32 source executables as per "MaximusSourceDoc.doc" on Windows
 ML> XP using Watcom C/C++ Version 11c and the "h\nt" headers and
 ML> "lib386\nt" libraries from Version 10.6.  

 ac> Does it build with OpenWatcom?

 ac> http://www.openwatcom.org/

No. 

I have tried with Open Watcom 1.5 and it dies with type mismatches:
============================================================================= 
...
...
...
wcc /oe1/od/d2 /oals/s/j/zp1 /Fo=WCr\\s\fd2n.obs /ms fd2n.c
fd2n.c(52): Error! E1071: Type of parameter 2 does not agree with previous definition
fd2n.c(52): Note! N2003: source conversion type is 'char *'
fd2n.c(52): Note! N2004: target conversion type is 'void *'
fd2n.c(52): Note! N2002: 'read' defined in: c:\watcom\H\io.h(183)
fd2n.c(61): Error! E1071: Type of parameter 2 does not agree with previous definition
fd2n.c(61): Note! N2003: source conversion type is 'char *'
fd2n.c(61): Note! N2004: target conversion type is 'void const *'
fd2n.c(61): Note! N2002: 'write' defined in: c:\watcom\H\io.h(192)
dmaken.exe:  Error code 136, while making 'WCr\\s\fd2n.obs'
dmaken.exe:  Error code 255, while making 'slib'
*** make dos Compilation error encountered. Terminating build.
Ended: Mon 01/02/2010 {at}21:11:54.12
=============================================================================

I suspect that this is because Open Watcom is more strict on type
conversion than previous versions of Watcom. There might be a switch to
relax it. Otherwise we'll have to edit the source to make it work.

Ideally MAXS_302 should compile under Open Watcom so that all DOS, NT, OS/2
and Unix targets can be compiled with one compiler. Then we can merge all
the source trees.


--- Maximus 3.01
* Origin: Xaragmata / Adelaide SA telnet://xaragmata.mooo.com (3:800/432)
SEEN-BY: 261/38 633/104 260 267 640/954 690/682 734 712/0 313 848 800/7 432
SEEN-BY: 800/812 896
@PATH: 800/432 633/260 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™.