Subj : Successfully compiled Maximus 3.02
To : Andrew Clarke
From : Mvan Le
Date : Mon Feb 01 2010 08:58 pm
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 @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)