Subj : Open Watcom compiler
To : Sarah Nunez
From : Jonathan de Boyne Pollard
Date : Tue Jun 25 2002 11:35 pm
SN> 2. I have three programs (all quite similar to one another) that send
SN> output to the printer (stdprn).
Your programs are written to assume something to be true that is only in fact
true on the MS/PC/DR-DOS operating systems. Your programs, as they stand at
any rate, have thus locked themselves into MS/PC/DR-DOS.
Is it your intention to build DOS programs ? I suspect that it is not. Only
when the target operating system is MS/PC/DR-DOS is it meaningful to make use
of the macros "stdaux" and "stdprn" (analogous to the standard "stdin",
"stdout", and "stderr" macros) in a program. If you are intending to create
OS/2 programs, then your applications need to be rewritten to stop assuming
something that isn't actually true on OS/2.
SN> All three programs compile flawlessly under Turbo-C 2.0, [...]
That's because Turbo C targets the DOS operating system and your programs are
written for DOS.
� JdeBP �
--- FleetStreet 1.22 NR
* Origin: JdeBP's point, using Squish <yuk!> (2:257/609.3)