tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Charles M. Richmond" <cmr () iisc ! com>
To: tru64-unix-managers
Subject: Summary: cxx problems (not resolved)
Date: Tue, 28 Jul 1998 16:11:23 +0000	[thread overview]
Message-ID: <96078715811977.tru64-unix-managers.marc@archive.invalid> (raw)

Two answers:

  1. From "Serguei Patchkovskii" <patchkov@acs.ucalgary.ca>
     Suggesting that I define _XOPEN_SOURCE_EXTENDED. Unfortunately I had
     already done that and was looking for a more general solution.

  2. From Ken Block USG <block@quarry.zk3.dec.com> 
      "The system headers should work exactly the same for C++ as they do 
       for C (although even that is somewhat idiosyncratic.) Could you send 
       us an example where this is not working with the C++ compiler and we 
       will see if we can fix it?"


So I forwarded two one-line programs that demonstrated the problem and am
hoping for a fix, sometime...

Charlie

Original question:


> 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.


---
*****************************************************************************
*  Charles Richmond 	Integrated International Systems Corporation        *
*	  cmr@iisc.com	cmr@koibito.iisc.com  cmr@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                                  *
*****************************************************************************

                 reply	other threads:[~1998-07-28 16:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox