-DSYSV when building under SVR4. This will not be set when
using the
default configuration. A quick fix is to add something like the
following to the client's Imakefile:
#if SystemV4
DEFINES = -DSYSV OTHER_CLIENT_DEPENDENT_DEFINES
#endif
The best solution is to modify the code so it compiles correctly
without -DSYSV.
-ansi' for gcc,
and `-Xc' for cc.
A consequence of this is __STDC__ gets #defined
to `1'. There are a
number of functions which will not have prototypes declared unless
either __STDC__ is not defined, or
__STDC__ == 0 || defined(_POSIX_SOURCE) || defined(_XOPEN_SOURCE)Possible solutions are to change the definition of
CCOPTIONS
by adding a line to the Imakefile, or to add the required prototypes
to the source.Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter