cxx problems

From: Charles M. Richmond <cmr_at_iisc.com>
Date: Fri, 24 Jul 1998 13:30:58 -0400

We have a problem with C++ code where a "cxx -x cxx prog.C" fails
with errors about things like mknod and gethostid being undefined.
The right include files are there and a c89 or cc of the same
file (with a ".c") succeeds. The problem might be with the standards
defines (_X_OPEN_SOURCE_EXTENDED etc). I have tried to RTFM but the
correct manual has not yet come to me )-: I have manually done the
define in the compile line and that does work, but I am looking for
a general methodology or at least some documentation.

TIA

Charlie

---
*****************************************************************************
*  Charles Richmond 	Integrated International Systems Corporation        *
*	  cmr_at_iisc.com	cmr_at_koibito.iisc.com  cmr_at_shore.net		    *
*  Specializing in UNIX, X, Image Processing, and Communications.           *
*  One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431            *
*  (617) 367 3151	FAX (617) 723 6861                                  *
*****************************************************************************
Received on Fri Jul 24 1998 - 17:31:57 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT