If you're trying to write a utility using Open Watcom C/C++ that works both on DOS and on the Linux machine you normally cross-compile from, and you're getting mysterious misbehaviours on one platform, check your INCLUDE path.

Having INCLUDE=$WATCOM/lh when cross-building for DOS or having INCLUDE=$WATCOM/h when building natively for Linux can result in successfull builds with confusing runtime misbehaviours.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves. A STEM-oriented instance.

An inclusive free speech instance.
All cultures and opinions welcome.
Explicit hate speech and harassment strictly forbidden.
We federate with all servers: we don't block any servers.