Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Mark Spruiell <mes@llnl.gov>
Subject: CXX header file problem
Date: 1995/10/12	[thread overview]
Message-ID: <307D9F26.41C6@llnl.gov> (raw)

I'm attempting to port some software to DEC OSF/1 v3.2 using
C++ V5.0-3.  One of my source files includes <sys/systeminfo.h>,
which for some reason does not contain the C++'isms that most
of the other header files contain.  Hence, the compiler uses
C++ linkage for the sysinfo() function and the loader winds up
with an unresolved external.

The workaround is obvious:

extern "C" {
#include <sys/systeminfo.h>
}

But I was hoping this might have been an oversight on DEC's
part, and that a patch is available???

Any ideas?

Mark Spruiell
LLNL
mes@llnl.gov



             reply	other threads:[~1995-10-12  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-12  4:00 Mark Spruiell [this message]
1995-10-13  4:00 ` CXX header file problem Dan Pop
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