Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: davidm@bri.hp.com (David McDougall)
Subject: C++ compile problem on osf/1
Date: Wed, 19 Oct 1994 14:50:52 GMT	[thread overview]
Message-ID: <CxxD8t.9E0@bri.hp.com> (raw)

Hi Folks,
          I have a program that happily compiles
using the standard c compiler on a DEC 3000/300
running OSF/1 v1.3. It uses a few ioctl calls to
do various things. I have ported the code to C++
and I am getting a ridiculous error which states
the following:

"dec_interface.C:44: error: In this statement, "ioctl" is not declared."

Now line 44 is identical in syntax to the c version and I
have included the #include <sys/ioctl.h> line in my c++ header
file. Does anyone know whats wrong or had a similar problem.
Things are getting silly as there is nothing obviously wrong.
Famous last words. Are there any defines I should be setting for the
compiler command.

All/Any help is much appreciated.

I can supply more info if it looks like that will help.

Cheers
       Dave.


             reply	other threads:[~1994-10-19 14:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-19 14:50 David McDougall [this message]
1994-10-20 13:07 ` C++ compile problem on osf/1 Mark Charette
1994-10-20 14:40 ` Russ Russell
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