* Summary: cxx problems (not resolved)
@ 1998-07-28 16:11 Charles M. Richmond
0 siblings, 0 replies; only message in thread
From: Charles M. Richmond @ 1998-07-28 16:11 UTC (permalink / raw)
To: tru64-unix-managers
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 *
*****************************************************************************
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-07-28 16:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-28 16:11 Summary: cxx problems (not resolved) Charles M. Richmond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox