Technical article 100816

Why do I get more warnings from SCO OpenServer 5 Optimizing C Compiler than I did with the SCO UNIX 4.2 C Compiler?

OpenServer 5.0.0

Written · Last revised

Problem

I am trying to compile an application and/or driver using the
SCO Optimizing C Compiler included with SCO OpenServer Development
System Release 5.0.0 to be compatible with SCO UNIX Release 3.2
Operating System Version 4.2.  I get many more warning messages
using this compiler than when I use the SCO UNIX Version 4.2 C
Compiler to compile the same code.

Solution

The USL compiler included with SCO OpenServer Development System
Release 5.0.0 is meticulous in analyzing the source code for
correct C language syntax.  It is possible that marginally
acceptable source code with problems that weren't fatally
incorrect will generate warnings on poor coding practices that
may not have been detected before.
If you feel that the compiler is wrong about any of the warnings,
SCO Technical Support has engineers who can look over a test case
of your source code.  See TA100797, "How do I report development
system problems to SCO Support?".

See also

cc(CP)

TA100797, "How do I report development system problems to SCO Support?"

From the Xinuos technical article database, record 100816. Reproduced with permission. The original is at www.sco.com/ta/100816, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.